mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 09:58:56 +08:00 
			
		
		
		
	Update comment for accuracy
This commit is contained in:
		@@ -179,7 +179,7 @@ export class GradleStateCache {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private readResourceAsString(resource: string): string {
 | 
					    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)
 | 
					        const absolutePath = path.resolve(__dirname, '..', '..', 'src', 'resources', resource)
 | 
				
			||||||
        return fs.readFileSync(absolutePath, 'utf8')
 | 
					        return fs.readFileSync(absolutePath, 'utf8')
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user