@annexfour/cli 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +2 -2
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -57,6 +57,8 @@ program
|
|
|
57
57
|
.option('-t, --token <token>', 'API Token (overrides config)')
|
|
58
58
|
.option('-p, --project-name <name>', 'Project Name')
|
|
59
59
|
.action(async (targetPath, options) => {
|
|
60
|
+
const scanPath = targetPath ? path.resolve(targetPath) : process.cwd();
|
|
61
|
+
|
|
60
62
|
// 1. Check for Docker
|
|
61
63
|
try {
|
|
62
64
|
await new Promise((resolve, reject) => {
|
|
@@ -99,8 +101,6 @@ program
|
|
|
99
101
|
finalProjectName = projectAnswer.name;
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
const scanPath = targetPath ? path.resolve(targetPath) : process.cwd();
|
|
103
|
-
|
|
104
104
|
// Construct Docker arguments
|
|
105
105
|
const dockerArgs = [
|
|
106
106
|
'run', '--rm', '-i',
|