File tree 2 files changed +1
-22
lines changed
2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const editor = process.env.EDITOR ||
64
64
const shell = isWindows ? process . env . ComSpec || 'cmd'
65
65
: process . env . SHELL || 'sh'
66
66
67
- const { tmpdir , networkInterfaces } = require ( 'os' )
67
+ const { networkInterfaces } = require ( 'os' )
68
68
const getLocalAddresses = ( ) => {
69
69
try {
70
70
return Object . values ( networkInterfaces ( ) ) . map (
@@ -2127,24 +2127,6 @@ define('timing', {
2127
2127
` ,
2128
2128
} )
2129
2129
2130
- define ( 'tmp' , {
2131
- default : tmpdir ( ) ,
2132
- defaultDescription : `
2133
- The value returned by the Node.js \`os.tmpdir()\` method
2134
- <https://nodejs.org/api/os.html#os_os_tmpdir>
2135
- ` ,
2136
- type : path ,
2137
- deprecated : `
2138
- This setting is no longer used. npm stores temporary files in a special
2139
- location in the cache, and they are managed by
2140
- [\`cacache\`](http://npm.im/cacache).
2141
- ` ,
2142
- description : `
2143
- Historically, the location where temporary files were stored. No longer
2144
- relevant.
2145
- ` ,
2146
- } )
2147
-
2148
2130
define ( 'umask' , {
2149
2131
default : 0 ,
2150
2132
type : Umask ,
Original file line number Diff line number Diff line change @@ -477,9 +477,6 @@ Object {
477
477
"timing": Array [
478
478
"boolean value (true or false)",
479
479
],
480
- "tmp": Array [
481
- "valid filesystem path",
482
- ],
483
480
"umask": Array [
484
481
"octal number in range 0o000..0o777 (0..511)",
485
482
],
You can’t perform that action at this time.
0 commit comments