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 a path-building tool for all file paths #342

Closed
joefowler opened this issue Feb 15, 2024 · 1 comment · Fixed by #345
Closed

Use a path-building tool for all file paths #342

joefowler opened this issue Feb 15, 2024 · 1 comment · Fixed by #345
Assignees

Comments

@joefowler
Copy link
Member

We think Dastard might run okay on Windows if only we were to replace all the forward slashes with a system-independent path separator. Let’s try it.

@joefowler joefowler self-assigned this Feb 15, 2024
@joefowler
Copy link
Member Author

joefowler commented May 25, 2024

Check for all of

  • Files in maps/
  • Files like /dev/lancero*
  • Files in testData
  • Occurrences of /%s or /%v or similar
  • Variables with fname or Path or FileName in the name
  • Do a regex search on ".*/[^/ ].*" (single-quoted string containing a / but no second slash.

Use path/filepath to build OS-agnostic paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant