mirror of
https://github.com/werf/actions.git
synced 2026-06-22 01:52:13 +03:00
PerformCIEnv: Add stub for occasional Cannot read property 'toString' of undefined error
This commit is contained in:
+23532
-23530
File diff suppressed because one or more lines are too long
+23530
-23528
File diff suppressed because one or more lines are too long
+23487
-23485
File diff suppressed because one or more lines are too long
+23537
-23535
File diff suppressed because one or more lines are too long
+23537
-23535
File diff suppressed because one or more lines are too long
+11402
-11397
File diff suppressed because one or more lines are too long
@@ -61,7 +61,11 @@ export class Manager {
|
|||||||
dotenv.config({path: tmpFilePath})
|
dotenv.config({path: tmpFilePath})
|
||||||
|
|
||||||
fs.readFile(tmpFilePath, null, function (err, contents) {
|
fs.readFile(tmpFilePath, null, function (err, contents) {
|
||||||
|
if (err) {
|
||||||
|
console.error(err)
|
||||||
|
} else {
|
||||||
console.log(contents.toString())
|
console.log(contents.toString())
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
tmpFile.removeCallback()
|
tmpFile.removeCallback()
|
||||||
|
|||||||
Reference in New Issue
Block a user