improve error message
This commit is contained in:
+1
-2
@@ -72,8 +72,7 @@ function startServerProcess(owner, repo) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!fs.existsSync(game_dir)) {
|
if(!fs.existsSync(game_dir)) {
|
||||||
console.error(`Game 'games/${owner}/${repo}' does not exist!`)
|
console.error(`Game '${game_dir}' does not exist!`)
|
||||||
cp.spawn("pwd")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user