We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf5edd commit 7c07523Copy full SHA for 7c07523
templates/cli/index.js.twig
@@ -28,7 +28,7 @@ program
28
.version(version, "-v, --version")
29
.option("--verbose", "Show complete error log")
30
.option("--json", "Output in JSON format")
31
- .hook('preAction',migrate)
+ .hook('preAction', (c, a) => migrate())
32
.on("option:json", () => {
33
cliConfig.json = true;
34
})
templates/cli/lib/commands/generic.js.twig
@@ -303,7 +303,7 @@ const client = new Command("client")
303
success()
304
}));
305
306
-async function migrate() {
+const migrate = async () => {
307
if (!globalConfig.has('endpoint') || !globalConfig.has('cookie')) {
308
return;
309
}
0 commit comments