Skip to content

Commit 94d10c5

Browse files
Nathanael AndersonFatme
authored andcommitted
Fix lint issues
1 parent 7626abe commit 94d10c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/services/pacote-service.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ export class PacoteService implements IPacoteService {
1010
constructor(private $fs: IFileSystem,
1111
private $injector: IInjector,
1212
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+
}
1919

2020
@cache()
2121
public get $packageManager(): INodePackageManager {

0 commit comments

Comments
 (0)