Loading src/cache-base.ts +1 −1 Changes for src/cache-base.ts: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ export class GradleStateCache { } private readResourceAsString(resource: string): string { // Resolving relative to __dirname will force the compiler to inline the content in the distribution // Resolving relative to __dirname will allow node to find the resource at runtime const absolutePath = path.resolve(__dirname, '..', '..', 'src', 'resources', resource) return fs.readFileSync(absolutePath, 'utf8') } Loading Loading
src/cache-base.ts +1 −1 Changes for src/cache-base.ts: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ export class GradleStateCache { } private readResourceAsString(resource: string): string { // Resolving relative to __dirname will force the compiler to inline the content in the distribution // Resolving relative to __dirname will allow node to find the resource at runtime const absolutePath = path.resolve(__dirname, '..', '..', 'src', 'resources', resource) return fs.readFileSync(absolutePath, 'utf8') } Loading