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

Fake module filepath not honoring ~ and $HOME #26

Open
MadBomber opened this issue Dec 13, 2022 · 1 comment
Open

Fake module filepath not honoring ~ and $HOME #26

MadBomber opened this issue Dec 13, 2022 · 1 comment

Comments

@MadBomber
Copy link
Owner

When a file is included both ~ and $HOME are honored; however when a file path is used with the fake module keyword those strings are not handled.

@MadBomber
Copy link
Owner Author

I just ran into this again. I guess I ought to fix it.

Also using the Ruby version of justprep without the ~ I got a problem where the path was trying to be verified using the #exists? method which belongs to Crystal no Ruby. Ruby should use the @exist? method.

I throught there was a Ruby/Crystal compatibility library in justprep but its been so long since I worked on this report that I've forgotten.

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

1 participant