Skip to content

Commit 00029a1

Browse files
Merge pull request #374 from bworline/manifestjs-param-bug
Fix cmd line parsing bug for the --manifest-js parameter
2 parents 113e3b3 + 7b25b8d commit 00029a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/exec/extension/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class ExtensionBase<T> extends TfCommand<ExtensionArguments, T> {
186186
return Promise.all([
187187
this.commandArgs.root.val(),
188188
this.commandArgs.locRoot.val(),
189-
this.commandArgs.manifestJs.val(),
189+
this.commandArgs.manifestJs.val().then(files => files && files.length ? files[0] : null),
190190
this.commandArgs.env.val(),
191191
this.commandArgs.manifests.val(),
192192
this.commandArgs.manifestGlobs.val(),

0 commit comments

Comments
 (0)