-
Notifications
You must be signed in to change notification settings - Fork 77
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 compatibility with Windows #285
Conversation
…ond condition cause the test to be flaky.
scripts/prepare.mjs
Outdated
|
||
switch (os.platform()) { | ||
case 'win32': | ||
command = 'del -f .oclif.manifest.json && yarn run prepack && husky install'; |
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.
Shall we use del /f
in windows? force delete in windows
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.
We can! I have ran this command and it worked, but I would rather use the official version of the flag.
What does this PR do?
Fixes issues with Windows environments
What issues does this PR fix or reference?
@W-13312965@
Functionality Before
Store creation would fail in Windows Powershell
Functionality After
Now the store is mostly created fine. I have created this issue forcedotcom/cli#2581 to help resolve the deployment issue in windows. I will follow this issue closely.
How to Test/Testing Effort
Created stores in windows environment, yarn test