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(workflow): husky cannot use [[ ]] test stynax on WSL2-Ubuntu #23

Merged
merged 2 commits into from Mar 15, 2024

Conversation

aiktb
Copy link
Owner

@aiktb aiktb commented Mar 15, 2024

typicode/husky#1326
The original script reports an error when running on WSL2-Ubuntu: Not found [[

The reason is unknown. The script used before this PR runs normally in git bash. It is a very strange phenomenon that seems to be specific to WSL2-ubuntu...
Modify the script to remove the [[ ]] test syntax.

@aiktb aiktb self-assigned this Mar 15, 2024
@aiktb aiktb merged commit bc3b6e5 into main Mar 15, 2024
3 checks passed
@aiktb aiktb deleted the fix-husky branch March 15, 2024 15:28
aiktb added a commit that referenced this pull request Mar 16, 2024
* fix(workflow): husky cannot use [[ ]] test stynax on WSL2-Ubuntu

* chore: husky shell script is not actually generated

Former-commit-id: 6fa937d27602cf2430240eb278edc99a46b92f62
aiktb added a commit that referenced this pull request Mar 16, 2024
* fix(workflow): husky cannot use [[ ]] test stynax on WSL2-Ubuntu

* chore: husky shell script is not actually generated

Former-commit-id: 6fa937d27602cf2430240eb278edc99a46b92f62
aiktb added a commit that referenced this pull request Mar 16, 2024
* fix(workflow): husky cannot use [[ ]] test stynax on WSL2-Ubuntu

* chore: husky shell script is not actually generated

Former-commit-id: 6fa937d27602cf2430240eb278edc99a46b92f62
aiktb added a commit that referenced this pull request Mar 16, 2024
* fix(workflow): husky cannot use [[ ]] test stynax on WSL2-Ubuntu

* chore: husky shell script is not actually generated

Former-commit-id: 6fa937d27602cf2430240eb278edc99a46b92f62
aiktb added a commit that referenced this pull request Mar 16, 2024
* fix(workflow): husky cannot use [[ ]] test stynax on WSL2-Ubuntu

* chore: husky shell script is not actually generated

Former-commit-id: 6fa937d27602cf2430240eb278edc99a46b92f62
@aiktb
Copy link
Owner Author

aiktb commented Mar 26, 2024

Currently this issue is not reproducible, it seems to be some kind of subtle WSL2 bug...

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.

None yet

1 participant