~singpolyma/dhall-ruby

e44a3fcf92f0dfc48921d07b003af64ee5a792e9 — Stephen Paul Weber 4 years ago ff0a68e
This could be a literal, so may be frozen
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/dhall/resolve.rb
M lib/dhall/resolve.rb => lib/dhall/resolve.rb +1 -1
@@ 89,7 89,7 @@ module Dhall
		StandardReadHttpSources = lambda do |sources, parent_origin|
			ReadHttpSources.call(sources, parent_origin).map do |source_promise|
				source_promise.then do |s|
					s = s.force_encoding("UTF-8")
					s = s.dup.force_encoding("UTF-8")
					unless s.valid_encoding?
						raise ImportFailedException, "#{s.inspect} is not valid UTF-8"
					end