Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes authored Mar 29, 2017
1 parent 4aae3ff commit fe9e1e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/versioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ function get_process_runtime(versions) {
} else if (versions.electron) {
runtime = 'electron';
} else if (process.env.ELECTRON_RUN_AS_NODE) {
// Running in a childProcess.fork of electron
runtime = 'electron';
process.versions.electron = require('electron/package.json').version;
}
Expand Down

0 comments on commit fe9e1e9

Please sign in to comment.