generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: verify fails if node not installed #167
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2917a1d
fix: verify fails if node not installed
peternhale b317549
chore: code cleanup
maggiben 4b4815d
chore: code cleanup
maggiben 7ae1c5e
test: node in slim an global
maggiben b0563f5
chore: code clean + path for win
maggiben 8e2e7ed
Update src/lib/npmCommand.ts
maggiben d8cd587
Update src/lib/npmCommand.ts
maggiben 68b6965
chore: streamline code & update some comments
RodEsp 8f6cd2d
fix: remmove unnecessary string template
RodEsp 7a48f87
test: run nuts from CI
mshanemc 6cc997e
test: can't use answers to prompts on windows
mshanemc ee3a86e
fix: make sure node filepath is executable
RodEsp 5463ea2
chore: update unit tests so error messages are more descriptive
RodEsp 6044439
test: run nuts on branches, partial nuts on windows (#168)
mshanemc c290d41
test: add telemetry ack file
mshanemc 47c6f23
test: ignore errors on deleting testProjects
mshanemc 8d07d3b
test: store correct filename
mshanemc 861de03
test: can't write to non-existent dir
mshanemc 48d6a06
test: smaller test plugin, json in ack file
mshanemc 971809d
test: no nuts for windows
mshanemc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@maggiben why the alias? This confuses old people like me :) I would rather see
os.type()
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.
@peternhale that was me.
Because if you want to do
os.type()
then you have to bring in all ofos
withimport * as os from 'os';
.So you can do
import { type } from 'os';
to only bring in what you need but then callingtype()
isn't very descriptive either, so I aliased it toosType()
;