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

Fix compatibility with Windows #285

Merged
merged 44 commits into from
Dec 5, 2023
Merged

Conversation

tarcang
Copy link
Contributor

@tarcang tarcang commented Nov 28, 2023

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


switch (os.platform()) {
case 'win32':
command = 'del -f .oclif.manifest.json && yarn run prepack && husky install';
Copy link

@Yuanchen-S Yuanchen-S Dec 4, 2023

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

Copy link
Contributor Author

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.

@tarcang tarcang requested a review from Yuanchen-S December 4, 2023 20:43
@tarcang tarcang merged commit 717551a into develop Dec 5, 2023
6 checks passed
@tarcang tarcang deleted the tg/fix-compatibility-with-windows branch December 5, 2023 17:59
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.

4 participants