ante-erp-cli 1.11.18 → 1.11.19
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/package.json +1 -1
- package/src/commands/install.js +4 -1
package/package.json
CHANGED
package/src/commands/install.js
CHANGED
|
@@ -184,7 +184,10 @@ export async function install(options) {
|
|
|
184
184
|
console.log(` ${checks.node.ok ? chalk.green('✓') : chalk.red('✗')} Node.js: ${checks.node.message}`);
|
|
185
185
|
console.log(` ${checks.diskSpace.ok ? chalk.green('✓') : chalk.red('✗')} Disk Space: ${checks.diskSpace.message}`);
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
// Recalculate ok status after Docker check update
|
|
188
|
+
const allChecksPass = Object.values(checks).every(check => check.ok);
|
|
189
|
+
|
|
190
|
+
if (!allChecksPass) {
|
|
188
191
|
console.log(chalk.red('\n✗ System requirements not met. Please resolve issues above.\n'));
|
|
189
192
|
process.exit(1);
|
|
190
193
|
}
|