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 relative imports for dhall freeze --inplace #619

Merged
merged 2 commits into from
Oct 4, 2018

Conversation

Gabriella439
Copy link
Collaborator

Fixes #617

This changes dhall freeze to use the directory of the supplied file path as
the root import instead of using ".". This fixes the behavior of relative
imports when the root file is not located in the current working directory.

Fixes #617

This changes `dhall freeze` to use the directory of the supplied file path as
the root import instead of using ".".  This fixes the behavior of relative
imports when the root file is not located in the current working directory.
Copy link
Collaborator

@FintanH FintanH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful 😍 Worked perfectly for the project I was working on 👌

@Gabriella439 Gabriella439 merged commit a22aa79 into master Oct 4, 2018
@Gabriella439 Gabriella439 deleted the gabriel/fix_freeze branch October 4, 2018 12:56
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 this pull request may close these issues.

dhall resolve doesn't respect relative directories
2 participants