diff --git a/src/cache-base.ts b/src/cache-base.ts index 07af09b..0e7c6d6 100644 --- a/src/cache-base.ts +++ b/src/cache-base.ts @@ -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') }