npq 3.16.2 → 3.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/npq-hero.js +6 -1
- package/bin/npq.js +6 -1
- package/lib/packageManager.js +5 -1
- package/package.json +1 -1
package/bin/npq-hero.js
CHANGED
|
@@ -105,7 +105,12 @@ marshall
|
|
|
105
105
|
Object.prototype.hasOwnProperty.call(status, 'install') &&
|
|
106
106
|
status.install === true
|
|
107
107
|
) {
|
|
108
|
-
pkgMgr.process(PACKAGE_MANAGER_TOOL)
|
|
108
|
+
return pkgMgr.process(PACKAGE_MANAGER_TOOL)
|
|
109
|
+
}
|
|
110
|
+
})
|
|
111
|
+
.then((exitCode) => {
|
|
112
|
+
if (typeof exitCode === 'number') {
|
|
113
|
+
process.exitCode = exitCode
|
|
109
114
|
}
|
|
110
115
|
})
|
|
111
116
|
.catch((error) => {
|
package/bin/npq.js
CHANGED
|
@@ -130,7 +130,12 @@ Promise.resolve()
|
|
|
130
130
|
Object.prototype.hasOwnProperty.call(status, 'install') &&
|
|
131
131
|
status.install === true
|
|
132
132
|
) {
|
|
133
|
-
pkgMgr.process(cliArgs.packageManager)
|
|
133
|
+
return pkgMgr.process(cliArgs.packageManager)
|
|
134
|
+
}
|
|
135
|
+
})
|
|
136
|
+
.then((exitCode) => {
|
|
137
|
+
if (typeof exitCode === 'number') {
|
|
138
|
+
process.exitCode = exitCode
|
|
134
139
|
}
|
|
135
140
|
})
|
|
136
141
|
.catch((error) => {
|
package/lib/packageManager.js
CHANGED