Skip to content

Commit

Permalink
clean depends_on (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jney authored Oct 9, 2020
1 parent c846098 commit cbb0b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func New(dir, rootDir string) (p *Project) {
}

for k, v := range p.DependsOn {
p.DependsOn[k] = path.Join(p.BaseDir, v)
p.DependsOn[k] = path.Clean(path.Join(p.BaseDir, v))
if _, err := os.Stat(p.DependsOn[k]); os.IsNotExist(err) {
log.Fatalf("depends_on directory %q does not exist", p.DependsOn[k])
}
Expand Down

0 comments on commit cbb0b45

Please sign in to comment.