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

Windows: wrong file path #2

Open
ZashIn opened this issue May 20, 2021 · 1 comment · May be fixed by #4
Open

Windows: wrong file path #2

ZashIn opened this issue May 20, 2021 · 1 comment · May be fixed by #4

Comments

@ZashIn
Copy link

ZashIn commented May 20, 2021

On Windows the absolute filepath is wrong (leading /):

Expected command:

autoflake --in-place --remove-all-unused-imports c:/...

Actual command:

autoflake --in-place --remove-all-unused-imports /c:/...
ZashIn added a commit to ZashIn/vscode-autoflake that referenced this issue May 27, 2021
Use platform specific paths instead of posix only.
@ZashIn ZashIn linked a pull request May 27, 2021 that will close this issue
ZashIn added a commit to ZashIn/vscode-autoflake that referenced this issue May 27, 2021
Fixes trungnt13#2: Use platform specific paths instead of posix only.
@ChristianZimpelmann
Copy link

Hi,

Fixing this issue would be really helpful! Do you have an idea when the PR can be merged and/or do you have a workaround in the meantime?

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 a pull request may close this issue.

2 participants