Skip to content
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

Merged
merged 4 commits into from
Sep 2, 2020
Merged

Cyp 372 env var #48

merged 4 commits into from
Sep 2, 2020

Conversation

karanshah-browserstack
Copy link
Collaborator

Exporting BUILD_ID & BUILD_URL to build_results.txt

nagpalkaran95
nagpalkaran95 previously approved these changes Aug 26, 2020
Copy link
Collaborator

@nagpalkaran95 nagpalkaran95 left a 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){
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

nagpalkaran95
nagpalkaran95 previously approved these changes Sep 1, 2020
@karanshah-browserstack karanshah-browserstack merged commit 5fb2f48 into master Sep 2, 2020
@karanshah-browserstack karanshah-browserstack deleted the CYP_372_ENV_VAR branch September 2, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants