Skip to content

Commit

Permalink
fix: #3764
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jul 10, 2018
1 parent 76ceb2f commit 3a582b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/API/Extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function(CLI) {
fmt.title(chalk.bold.blue('CLI'));
fmt.field('local pm2', pkg.version);
fmt.field('node version', process.versions.node);
fmt.field('node path', process.env['_']);
fmt.field('node path', process.env['_'] || 'not found');
fmt.field('argv', process.argv);
fmt.field('argv0', process.argv0);
fmt.field('user', process.env.USER || process.env.LNAME || process.env.USERNAME);
Expand Down
2 changes: 1 addition & 1 deletion lib/God/ActionMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ module.exports = function(God) {
var report = {
pm2_version : pkg.version,
node_version : 'N/A',
node_path : process.env['_'],
node_path : process.env['_'] || 'not found',
argv0 : process.argv0,
argv : process.argv,
user : process.env.USER,
Expand Down

0 comments on commit 3a582b4

Please sign in to comment.