mirror of
https://github.com/werf/actions.git
synced 2026-06-22 01:52:13 +03:00
Merge pull request #1 from flant/fix_ci_env_cannot_read_property_of_undefined
PerformCIEnv: Add stub for occasional `Cannot read property 'toString' of undefined` error
This commit is contained in:
+23597
-23595
File diff suppressed because one or more lines are too long
+23616
-23614
File diff suppressed because one or more lines are too long
+23562
-23560
File diff suppressed because one or more lines are too long
+23602
-23600
File diff suppressed because one or more lines are too long
+23599
-23597
File diff suppressed because one or more lines are too long
+11468
-11463
File diff suppressed because one or more lines are too long
+5
-1
@@ -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