Update comment for accuracy

This commit is contained in:
Daz DeBoer 2022-06-03 07:50:08 -06:00
parent 6cc033f2b3
commit cde0632795
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D

View file

@ -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')
}