Skip to content

Commit 9717830

Browse files
committed
refactor: Improve command line to use rawArgs
1 parent fb8e08a commit 9717830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/parser.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const parseError = (err) => {
130130
}
131131

132132
const version = '{{ sdk.version }}';
133-
const stepsToReproduce = `Running \`appwrite ${cliConfig.reportData.data.args}\``;
133+
const stepsToReproduce = `Running \`appwrite ${cliConfig.reportData.data.args.join(' ')}\``;
134134
const yourEnvironment = `CLI version: ${version}\nOperation System: ${os.type()}\nAppwrite version: ${appwriteVersion}\nIs Cloud: ${isCloud}`;
135135

136136
const stack = '```\n' + err.stack + '\n```';

0 commit comments

Comments
 (0)