Scripts: actually specify commands

This commit is contained in:
Pieter Vander Vennet 2025-09-26 02:09:12 +02:00
parent 676bb8a250
commit 1325a178e7
3 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class ServerPmTileExtracts extends Script {
async main(args: string[]): Promise<void> {
if(args.length < 2){
this.printHelp()
return
throw ("!!! Please, specify a source- and cachedir !!!")
}
const sourcefile = args[0]
const targetDir = args[1]