Skip to content

Commit ce5278c

Browse files
Nathanael AndersonFatme
authored andcommitted
Fix final tslint issue
1 parent 94d10c5 commit ce5278c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/services/pacote-service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export class PacoteService implements IPacoteService {
1111
private $injector: IInjector,
1212
private $logger: ILogger,
1313
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-
});
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+
});
1818
}
1919

2020
@cache()

0 commit comments

Comments
 (0)