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

set launchable config #60

Merged
merged 8 commits into from
Oct 20, 2022
Merged

set launchable config #60

merged 8 commits into from
Oct 20, 2022

Conversation

Konboi
Copy link
Collaborator

@Konboi Konboi commented Oct 18, 2022

SSIA

@Konboi Konboi force-pushed the introduce-launchable branch from 5c77eed to 526259d Compare October 18, 2022 06:18
@Konboi Konboi force-pushed the introduce-launchable branch from 526259d to ed08475 Compare October 18, 2022 06:19
@Konboi Konboi force-pushed the introduce-launchable branch from 1c2ccf1 to 6a29686 Compare October 19, 2022 08:24
@Konboi Konboi force-pushed the introduce-launchable branch from cd01786 to c1626fc Compare October 20, 2022 01:41
@Konboi Konboi requested a review from shibuiwilliam October 20, 2022 01:45
if current_config:
os.environ[REPORT_ERROR_KEY] = current_config
else:
os.environ.pop(REPORT_ERROR_KEY)
Copy link
Contributor

@shibuiwilliam shibuiwilliam Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nits]
Although it is apparent the key REPORT_ERROR_KEY exists in environment variable, it is better to add None as default value to avoid key not exists error.
os.environ.pop(REPORT_ERROR_KEY, None)

Copy link
Contributor

@shibuiwilliam shibuiwilliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nits but not critical.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Konboi Konboi merged commit 731bf53 into main Oct 20, 2022
@Konboi Konboi deleted the introduce-launchable branch October 20, 2022 02:29
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.

2 participants