Skip to content

Commit

Permalink
fix: do not set a default value for node-version
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 22, 2022
1 parent 3e65166 commit 6bbfbcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/defaults.js
Expand Up @@ -112,7 +112,6 @@ Object.defineProperty(exports, 'defaults', {
message: '%s',
'metrics-registry': null,
'node-options': null,
'node-version': process.version,
'offline': false,
'onload-script': false,
only: null,
Expand Down
1 change: 1 addition & 0 deletions test.js
Expand Up @@ -19,5 +19,6 @@ test('mirror npm config', async () => {
});

test('mirror npm defaults', () => {
delete npmDefaults['node-version']
expect(m.defaults).toMatchObject(npmDefaults);
});

0 comments on commit 6bbfbcb

Please sign in to comment.