We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39352bc commit 8dd44deCopy full SHA for 8dd44de
lib/models/Project.js
@@ -453,7 +453,7 @@ var Project = function () {
453
}, {
454
key: '_getCurrentEnv',
455
value: function _getCurrentEnv() {
456
- if (process.argv[2] === 'pack') {
+ if (process.argv[2] === 'pack' || process.argv[2] === 'p') {
457
if (process.argv.indexOf('-m') > -1) {
458
return ENVS.PRD;
459
} else {
src/models/Project.js
@@ -435,7 +435,7 @@ class Project {
435
}
436
437
_getCurrentEnv() {
438
+ if (process.argv[2] === 'pack' || process.argv[2] === 'p' ) {
439
440
441
0 commit comments