project-devkit 2.0.1 → 2.0.2
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/plugins/env/env.mjs +5 -1
package/package.json
CHANGED
package/plugins/env/env.mjs
CHANGED
|
@@ -43,7 +43,11 @@ function validateWithEnvSchema(envFile, schemaFile) {
|
|
|
43
43
|
});
|
|
44
44
|
console.log(chalk.green(' .env.schema validation passed'));
|
|
45
45
|
} catch (e) {
|
|
46
|
-
|
|
46
|
+
const output = (e.stdout || e.stderr || e.message).trimEnd();
|
|
47
|
+
console.log(chalk.yellow(' .env.schema validation warnings:'));
|
|
48
|
+
console.log(output);
|
|
49
|
+
// Reset terminal colors in case envschema left unclosed ANSI sequences
|
|
50
|
+
process.stdout.write('\x1b[0m');
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
|