diff --git a/local.go b/local.go index 847ef0c..e59188d 100644 --- a/local.go +++ b/local.go @@ -41,6 +41,11 @@ func LocalAssets(path string) ([]string, error) { continue } + // Exclude hidden file + if filepath.Base(f)[0] == '.' { + continue + } + assets = append(assets, f) } diff --git a/testdata/.gitkeep b/testdata/.gitkeep new file mode 100644 index 0000000..e69de29