fix: text template bug

This commit is contained in:
windingwind 2023-04-16 10:15:21 +08:00
parent 31e300233f
commit d0c8e3458b

View File

@ -20,7 +20,10 @@ async function runTemplate(
}
): Promise<string> {
ztoolkit.log(`runTemplate: ${key}`);
argString += ", _env";
if (argList.length > 0) {
argString += ", ";
}
argString += "_env";
argList.push({
dryRun: options.dryRun,
});