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

use命令与-S同时使用,且路径里有“/”时,必crash #789

Closed
zgr0629 opened this issue Sep 30, 2022 · 2 comments
Closed

use命令与-S同时使用,且路径里有“/”时,必crash #789

zgr0629 opened this issue Sep 30, 2022 · 2 comments

Comments

@zgr0629
Copy link

zgr0629 commented Sep 30, 2022

复现步骤:

w2 start -S /test/dir -p 8888
w2 use ./someRule.js -S /test/dir

报错:

No running whistle, execute `w2 start -S /test/newDir` to start whistle on the cli.

运行配置文件是:~/.startingAppData/%23%252Ftest%252FnewDir%23
但代码里要去读:~/.startingAppData/%23%2Ftest%2FnewDir%23

应该是里面的转义问题

版本:[email protected]

@avwo
Copy link
Owner

avwo commented Oct 1, 2022

感谢反馈,是 bug,下个版本修复(不是 crash 是找不到之前的进程 id)

@avwo
Copy link
Owner

avwo commented Oct 9, 2022

重新安装 Whistle 并重启 npm i -g whistle && w2 restart

@avwo avwo closed this as completed Oct 9, 2022
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

No branches or pull requests

2 participants