Skip to content

Commit 669d451

Browse files
committed
small fix
1 parent ab63985 commit 669d451

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (p *Plugin) Exec() error {
149149

150150
for _, match := range matches {
151151
// skip directories
152-
if IsDir(match, matches) {
152+
if isDir(match, matches) {
153153
continue
154154
}
155155

@@ -313,7 +313,7 @@ func resolveKey(target, srcPath, stripPrefix string) string {
313313
}
314314

315315
// checks if the source path is a dir
316-
func IsDir(source string, matches []string) bool {
316+
func isDir(source string, matches []string) bool {
317317
stat, err := os.Stat(source)
318318
if err != nil {
319319
return true // should never happen

0 commit comments

Comments
 (0)