-
Notifications
You must be signed in to change notification settings - Fork 131
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
Make workspace output dir absolute path #1119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to treat paths as absolute throughout the program?
I think we could get away with just calling Path.resolve
at the usage location.
src/Spago/Command/Run.purs
Outdated
, withForwardSlashes opts.sourceDir | ||
, "/" | ||
, fromMaybe "output" workspace.buildOptions.output | ||
, absOutput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI for windows is failing and I suspect it's due to this
, absOutput | |
, withForwardSlashes absOutput |
Latest CI error was due to a test timing out in a parsing test. I don't think that's related to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! This is great 🙂
Description of the change
Fixes #1118
Checklist:
README
P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊