mirror of
https://github.com/werf/actions.git
synced 2026-02-05 10:56:23 +03:00
PerformCIEnv: Add stub for occasional Cannot read property 'toString' of undefined error
This commit is contained in:
@@ -61,7 +61,11 @@ export class Manager {
|
||||
dotenv.config({path: tmpFilePath})
|
||||
|
||||
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||
console.log(contents.toString())
|
||||
if (err) {
|
||||
console.error(err)
|
||||
} else {
|
||||
console.log(contents.toString())
|
||||
}
|
||||
})
|
||||
|
||||
tmpFile.removeCallback()
|
||||
|
||||
Reference in New Issue
Block a user