PerformCIEnv: Add stub for occasional Cannot read property 'toString' of undefined error

This commit is contained in:
Alexey Igrychev
2020-05-28 07:28:07 +01:00
parent 448f6c68d8
commit 1edceada7d
7 changed files with 129449 additions and 129430 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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()