Skip to content

Commit 15ef823

Browse files
Merge pull request #402 from cloudnautique/main
fix: the remote bool was not being reset
2 parents 80e3821 + f93bc73 commit 15ef823

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/loader/loader.go

Lines changed: 1 addition & 0 deletions
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)