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 std.thisFile #626

Merged
merged 2 commits into from
Oct 14, 2021
Merged

Fix std.thisFile #626

merged 2 commits into from
Oct 14, 2021

Conversation

julienduchesne
Copy link
Member

@julienduchesne julienduchesne commented Oct 14, 2021

Fixes #623

  • This was broken here: Implements environment caching for tk export #603 when I mistakenly assumed that EvaluateFile and EvaluateAnonymousSnippet were the same
  • I reverted the behavior so that we are now, again, using vm.EvaluateFile in the EvaluateFile function
  • I also added a test to prevent regressions

- This was broken here: #603 when I mistakenly assumed that EvaluateFile and EvaluateAnonymousSnippet were the same
- I reverted the behavior so that we are now, again, using `vm.EvaluateFile` in the `EvaluateFile` function
- I also added a test to prevent regressions
@julienduchesne julienduchesne requested review from a team and sh0rez October 14, 2021 01:54
@julienduchesne julienduchesne merged commit 61f518d into main Oct 14, 2021
@julienduchesne julienduchesne deleted the julienduchesne/fix-thisfile branch October 14, 2021 10:16
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.

std.thisFile returning empty string
3 participants