Doing so allows us to protected imports securely that were previously only protected for caching purposes. For example, given the following Dhall file foo.dhall:
Previously dhall freeze --all foo.dhall threw an "No valid imports" error as it was failing to add a hash to the missing import. With the changes in this PR freezing foo.dhall results in the following expected content of that file:
Doing so allows us to protected imports securely that were previously only protected for caching purposes. For example, given the following Dhall file
foo.dhall
:Previously
dhall freeze --all foo.dhall
threw an "No valid imports" error as it was failing to add a hash to themissing
import. With the changes in this PR freezingfoo.dhall
results in the following expected content of that file: