mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-29 11:40:59 -05:00
Update comment for accuracy
This commit is contained in:
parent
6cc033f2b3
commit
cde0632795
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue