Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "lory", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "bin": "src/index.js", |
@@ -37,3 +37,3 @@ const path = require('path'); | ||
logger.trace('Skipping download of steamcmd installer') | ||
return; | ||
return next(state); | ||
} | ||
@@ -63,2 +63,4 @@ } | ||
state.serverDir = path.resolve(state.serversDir, state.serverName); | ||
state.updateDir = path.resolve(state.serverDir, 'update.txt'); | ||
if (await file.fileExists(state.serverDir)) { | ||
@@ -70,3 +72,3 @@ if (state.force) { | ||
logger.trace(`Skipping download of server '${state.serverName}'`) | ||
return; | ||
return next(state); | ||
} | ||
@@ -76,4 +78,2 @@ } | ||
await fs.promises.mkdir(state.serverDir); | ||
state.updateDir = path.resolve(state.serverDir, 'update.txt'); | ||
await fs.promises.writeFile(state.updateDir, updateFileTemplate(state.serverDir)); | ||
@@ -109,3 +109,3 @@ | ||
logger.trace(`Skipping download of mount '${mount.name}'`) | ||
return; | ||
return next(state); | ||
} | ||
@@ -112,0 +112,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12151