From 16a5268f1702fbfa54b89b995d7e86f48cb568bf Mon Sep 17 00:00:00 2001 From: Rifat Nabi Date: Tue, 15 Nov 2016 20:59:46 +0600 Subject: [PATCH] Fix `expected manifest` on global add (#1840) --- src/cli/commands/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/global.js b/src/cli/commands/global.js index 934569a39d..0716f99bab 100644 --- a/src/cli/commands/global.js +++ b/src/cli/commands/global.js @@ -17,7 +17,7 @@ import * as fs from '../../util/fs.js'; class GlobalAdd extends Add { maybeOutputSaveTree(): Promise { - for (const pattern of this.args) { + for (const pattern of this.addedPatterns) { const manifest = this.resolver.getStrictResolvedPattern(pattern); ls(manifest, this.reporter, true); }