Skip to content

Commit

Permalink
Use isAllowed on config object
Browse files Browse the repository at this point in the history
  • Loading branch information
mpucholblasco committed Oct 29, 2021
1 parent 684980f commit e7ae854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (d *Deployer) groupLocalFiles(ctx context.Context, local localStore, basePa

if info.IsDir() {
// skip hidden directories like .git
if path != basePath && local.IsHiddenDir(info.Name()) && !d.cfg.conf.dotAllowedPaths[info.Name()] {
if path != basePath && local.IsHiddenDir(info.Name()) && !d.cfg.conf.dotAllowedPaths.isAllowed(info.Name()) {
return SkipDir
}

Expand Down

0 comments on commit e7ae854

Please sign in to comment.