From cde0632795cba8a6ebf9d250659dcdbd402f7293 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Fri, 3 Jun 2022 07:50:08 -0600 Subject: [PATCH] Update comment for accuracy --- src/cache-base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }