File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ module.exports = class EnvVarsCommand extends CLICommandBase {
144144 } ;
145145
146146 _buildEnvVarOperation ( { key, value, operation } ) {
147- const validOperations = [ 'Set' , 'Unset' , 'Inherit' , 'Uninherit' ] ;
147+ const validOperations = [ 'Set' , 'Unset' ] ;
148148 if ( ! validOperations . includes ( operation ) ) {
149149 throw Error ( 'Invalid operation for patch ' + operation ) ;
150150 }
@@ -218,7 +218,7 @@ module.exports = class EnvVarsCommand extends CLICommandBase {
218218 this . ui . write ( this . ui . chalk . cyan . bold ( 'Changes to be applied:' ) ) ;
219219 changes . forEach ( change => {
220220 if ( change . op === 'Added' ) {
221- this . ui . write ( ` ${ this . ui . chalk . green ( '+' ) } ${ change . key } : ${ change . value } ` ) ;
221+ this . ui . write ( ` ${ this . ui . chalk . green ( '+' ) } ${ change . key } : ${ change . after } ` ) ;
222222 } else if ( change . op === 'Removed' ) {
223223 this . ui . write ( ` ${ this . ui . chalk . red ( '-' ) } ${ change . key } ` ) ;
224224 } else if ( change . op === 'Changed' ) {
You can’t perform that action at this time.
0 commit comments