We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d10c5 commit ce5278cCopy full SHA for ce5278c
1 file changed
lib/services/pacote-service.ts
@@ -11,10 +11,10 @@ export class PacoteService implements IPacoteService {
11
private $injector: IInjector,
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
- });
+ npmconfig.read().forEach((value: any, key: string) => {
+ // replace env ${VARS} in strings with the process.env value
+ this.npmConfig[key] = typeof value !== 'string' ? value : value.replace(/\${([^}]+)}/, (_, envVar) => process.env[envVar] );
+ });
18
}
19
20
@cache()
0 commit comments