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

Space in path still not working #1695

Open
TAKeanice opened this issue May 12, 2024 · 1 comment
Open

Space in path still not working #1695

TAKeanice opened this issue May 12, 2024 · 1 comment

Comments

@TAKeanice
Copy link

In MarcoEidinger/SwiftFormatPlugin#1 I found a description for the very same issue that I am experiencing. It seems like fixes for the issue were already incorporated in the repository but I don´t know whether they have made it to this one.

The build I attempt to perform is for https://github.com/openhab/openhab-ios where swiftformat is invoked with swift package plugin --allow-writing-to-package-directory --allow-writing-to-directory "$SRCROOT" swiftformat "$SRCROOT" --config ./.swiftformat --cache /private/tmp/. The project was inside a directory with spaces. When I moved it to a directory without spaces, the build worked. Updating the SwiftFormat version did not make a difference.

@nicklockwood
Copy link
Owner

@MarcoEidinger the plugin code that ended up in SwiftFormat seems a little different from your original fixed version - is it possible that the fix regressed?

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