Skip to content

Commit 5fcd775

Browse files
authored
fix: Getter implementation (#450)
* Update getter.go * Update .gitignore
1 parent bf58d82 commit 5fcd775

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ config.hcl
2121
config_old.hcl
2222
/pkg/policy/tests/output/
2323
/pkg/policy/cq/*
24+
database-data/*

internal/getter/getter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ func DetectType(src string) (string, string, bool, error) {
9797
return t, source, true, nil
9898
}
9999
}
100-
return "", "", false, nil
100+
return "", src, false, nil
101101
}

0 commit comments

Comments
 (0)