mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-04 17:13:02 +00:00
Bugfix: fix crash when target dir isn't specified
This commit is contained in:
parent
82e826fd69
commit
03e398504a
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class RecordUniqManager {
|
|||
l.log(`Done in ${pretty_ms(new Date() - time_start)}, thank you :D`);
|
||||
}
|
||||
|
||||
#adjacent_dir(dir, target="deduped") {
|
||||
#adjacent_dir(dir, tag="deduped") {
|
||||
const dirname = path.dirname(dir);
|
||||
const basename = path.basename(dir);
|
||||
return path.join(dirname, `${basename}-${tag}`);
|
||||
|
|
Loading…
Reference in a new issue