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 1 commit
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1050,6 +1050,14 @@ | |
"@types/glob" "*" | ||
"@types/node" "*" | ||
|
||
"@types/sinon-chai@^3.2.5": | ||
version "3.2.5" | ||
resolved "https://registry.yarnpkg.com/@types/sinon-chai/-/sinon-chai-3.2.5.tgz#df21ae57b10757da0b26f512145c065f2ad45c48" | ||
integrity sha512-bKQqIpew7mmIGNRlxW6Zli/QVyc3zikpGzCa797B/tRnD9OtHvZ/ts8sYXV+Ilj9u3QRaUEM8xrjgd1gwm1BpQ== | ||
dependencies: | ||
"@types/chai" "*" | ||
"@types/sinon" "*" | ||
|
||
"@types/sinon@*", "@types/[email protected]": | ||
version "10.0.0" | ||
resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-10.0.0.tgz#eecc3847af03d45ffe53d55aaaaf6ecb28b5e584" | ||
|
@@ -6913,6 +6921,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: | |
resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" | ||
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== | ||
|
||
sinon-chai@^3.7.0: | ||
version "3.7.0" | ||
resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-3.7.0.tgz#cfb7dec1c50990ed18c153f1840721cf13139783" | ||
integrity sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g== | ||
|
||
[email protected]: | ||
version "10.0.0" | ||
resolved "https://registry.yarnpkg.com/sinon/-/sinon-10.0.0.tgz#52279f97e35646ff73d23207d0307977c9b81430" | ||
|
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()
;