diff --git a/src/modules/template/api.ts b/src/modules/template/api.ts index a32c06a..b8875f7 100644 --- a/src/modules/template/api.ts +++ b/src/modules/template/api.ts @@ -20,7 +20,10 @@ async function runTemplate( } ): Promise { ztoolkit.log(`runTemplate: ${key}`); - argString += ", _env"; + if (argList.length > 0) { + argString += ", "; + } + argString += "_env"; argList.push({ dryRun: options.dryRun, });