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!: 统一预设中的所有路径为绝对路径 #142

Closed
markthree opened this issue Dec 29, 2023 · 0 comments
Closed

fix!: 统一预设中的所有路径为绝对路径 #142

markthree opened this issue Dec 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working TODO

Comments

@markthree
Copy link
Member

当前在预设中,有些配置使用基于终端的相对路径,有些配置又使用基于 _dirname 的绝对路径。
这在实际的开发中,如果终端工作目录不在当前工作区下,则会产生路径错误,最佳的做法是统一为基于 _dirname 的绝对路径。

Ref: https://github.com/dishait/tov-template/blob/main/presets/index.ts#L128

@markthree markthree self-assigned this Dec 29, 2023
@markthree markthree added bug Something isn't working TODO labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working TODO
Projects
None yet
Development

No branches or pull requests

1 participant