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

缓存文件的时候没有处理路径中的特殊字符 #93

Open
devil0153 opened this issue Jul 5, 2022 · 0 comments
Open

缓存文件的时候没有处理路径中的特殊字符 #93

devil0153 opened this issue Jul 5, 2022 · 0 comments

Comments

@devil0153
Copy link

devil0153 commented Jul 5, 2022

我在electronjs中使用sdk,获取配置后会报错
WeCom Screenshot_20220705162241
在创建目录的时候由于group中带有冒号(:)导致失败,windows不允许创建带冒号的文件夹

查看了一下代码,在https://github.com/nacos-group/nacos-sdk-nodejs/blob/master/packages/nacos-config/src/snapshot.ts 中,getSnapshotFile方法做一下处理应该就可以了

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

1 participant