Skip to content

Commit f93bc73

Browse files
committed
fix: the remote bool was not being reset
Signed-off-by: Bill Maxwell <[email protected]>
1 parent 80e3821 commit f93bc73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/loader/loader.go

+1
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ func resolve(ctx context.Context, cache *cache.Client, prg *types.Program, base
435435
}
436436

437437
func input(ctx context.Context, cache *cache.Client, base *source, name string) (*source, error) {
438+
base.Remote = false
438439
if strings.HasPrefix(name, "http://") || strings.HasPrefix(name, "https://") {
439440
base.Remote = true
440441
}

0 commit comments

Comments
 (0)