summaryrefslogtreecommitdiff
path: root/installer/mod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'installer/mod.ts')
-rw-r--r--installer/mod.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/mod.ts b/installer/mod.ts
index c0a11ac9e..f247c6fd3 100644
--- a/installer/mod.ts
+++ b/installer/mod.ts
@@ -153,6 +153,7 @@ async function generateExecutable(
filePath: string,
commands: string[]
): Promise<void> {
+ commands = commands.map((v): string => JSON.stringify(v));
// On Windows if user is using Powershell .cmd extension is need to run the
// installed module.
// Generate batch script to satisfy that.