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

plugins/environments.js: Fix creation of new environments #1

Closed
wants to merge 2 commits into from

Conversation

klutchell
Copy link
Collaborator

Currently if environments do not exist in the target repository, they cannot be created
if all properties are not populated.

This PR performs a lint of the environments plugin file (first commit) before adding new
test cases to cover the creation of environments that do not exist.

The command eslint --fix ./lib/plugins/environments.js
was used to lint the plugin and some variable names were
updated to camel case manually.

The command `eslint --fix ./lib/plugins/environments.js`
was used to lint the plugin and some variable names were
updated to camel case manually.

Signed-off-by: Kyle Harding <[email protected]>
@klutchell klutchell force-pushed the kyle/new-environments branch from 6b0d187 to 50b6c5f Compare June 4, 2024 17:32
Without this change, environments that do not exist will
not be created by safe-settings.

New tests are included.

Signed-off-by: Kyle Harding <[email protected]>
@klutchell klutchell force-pushed the kyle/new-environments branch from 50b6c5f to b5f0802 Compare June 4, 2024 18:59
@klutchell klutchell closed this Nov 1, 2024
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.

1 participant