@fishawack/lab-env 4.2.0 → 4.2.1
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/CHANGELOG.md +3 -0
- package/globals.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/globals.js
CHANGED
|
@@ -126,7 +126,7 @@ try{
|
|
|
126
126
|
} catch(e){}
|
|
127
127
|
|
|
128
128
|
// Always allow diagnose, diag, version, help and origin through
|
|
129
|
-
if(args[0] !== 'diag' && args[0] !== 'diagnose' && args[0] !== 'origin' && args[0] !== '--version' && args[0] !== '--help'){
|
|
129
|
+
if(args[0] !== 'diag' && args[0] !== 'diagnose' && args[0] !== 'origin' && args[0] !== '--version' && args[0] !== '--help' && args[0] !== 'new'){
|
|
130
130
|
// Stop here if diagnosis either unset or outdated
|
|
131
131
|
if(!config.diagnosis || semver.diff(config.diagnosis, diagnosis) === 'major'){
|
|
132
132
|
console.log(`${utilities.colorize(`@fishawack/lab-env`, 'title')} diagnosis is ${utilities.colorize(`outdated`, 'error')}.\n\nRun ${utilities.colorize(`fw diagnose`, 'success')} to reconfigure.`);
|