mirror of
https://github.com/werf/actions.git
synced 2026-03-25 08:53:07 +03:00
PerformCIEnv: Add stub for occasional Cannot read property 'toString' of undefined error
This commit is contained in:
File diff suppressed because one or more lines are too long
47042
cleanup/index.js
47042
cleanup/index.js
File diff suppressed because one or more lines are too long
46982
converge/index.js
46982
converge/index.js
File diff suppressed because one or more lines are too long
47056
deploy/index.js
47056
deploy/index.js
File diff suppressed because one or more lines are too long
47056
dismiss/index.js
47056
dismiss/index.js
File diff suppressed because one or more lines are too long
22859
install/index.js
22859
install/index.js
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