Skip to content

Conversation

@erezrokah
Copy link
Contributor

Follow up to #1489.

Adds a hidden command to undo the changes made by ntl lm:install (to be used by our tests).

@erezrokah erezrokah requested a review from a team as a code owner February 14, 2021 17:57
@erezrokah erezrokah requested a review from ehmicky February 14, 2021 17:57
@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Feb 14, 2021
@erezrokah erezrokah changed the title test(command-lm): add cleanup test(command-lm): add uninstall command Feb 14, 2021
const getGitConfigContent = (gitConfigPath) => `
# This next lines include Netlify's Git Credential Helper configuration in your Git configuration.
[include]
path = ${path.posix.normalize(gitConfigPath)}
Copy link
Contributor

@ehmicky ehmicky Feb 15, 2021

Choose a reason for hiding this comment

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

This might not work as expected.
path.posix.normalize() actually returns backslashes on Windows (which is confusing).

Is the intent to only use forward slashes? If so, I have personally used this unmaintained package: https://github.com/jonschlinkert/unixify (we use it in zip-it-and-ship-it). If you find a better package, I'd be curious to learn about it too :)

Edit: I am realizing this change was not introduced by the current PR, so please feel free to ignore for this PR.

@erezrokah erezrokah merged commit 8b0e0ad into master Feb 15, 2021
@erezrokah erezrokah deleted the test/command_lm_uninstall branch February 15, 2021 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore work needed to keep the product and development running smoothly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants