-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyp 372 env var #48
Cyp 372 env var #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -131,3 +131,8 @@ exports.exportResults = (buildId, buildUrl) => { | |||
} | |||
}); | |||
} | |||
|
|||
exports.deleteResults = () => { | |||
fs.unlink("log/build_results.txt", function (err){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add log line for error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The unlink function throws an error even if there is no file present in the directory. And it is a validate case. Hence haven't logged any error.
…-cli into CYP_372_ENV_VAR
Exporting BUILD_ID & BUILD_URL to build_results.txt