File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ export class PacoteService implements IPacoteService {
10
10
constructor ( private $fs : IFileSystem ,
11
11
private $injector : IInjector ,
12
12
private $logger : ILogger ,
13
- private $proxyService : IProxyService ) {
14
- npmconfig . read ( ) . forEach ( ( value : any , key : string ) => {
15
- // replace env ${VARS} in strings with the process.env value
16
- this . npmConfig [ key ] = typeof value !== 'string' ? value : value . replace ( / \$ { ( [ ^ } ] + ) } / , ( _ , envVar ) => process . env [ envVar ] ) ;
17
- } ) ;
18
- }
13
+ private $proxyService : IProxyService ) {
14
+ npmconfig . read ( ) . forEach ( ( value : any , key : string ) => {
15
+ // replace env ${VARS} in strings with the process.env value
16
+ this . npmConfig [ key ] = typeof value !== 'string' ? value : value . replace ( / \$ { ( [ ^ } ] + ) } / , ( _ , envVar ) => process . env [ envVar ] ) ;
17
+ } ) ;
18
+ }
19
19
20
20
@cache ( )
21
21
public get $packageManager ( ) : INodePackageManager {
You can’t perform that action at this time.
0 commit comments