fix: copy in dir does not overwrite copy in
This commit is contained in:
parent
9321218181
commit
c3e3e9a452
|
|
@ -56,7 +56,8 @@ func convertPBCopyIn(
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if !info.IsDir() {
|
_, exists := copyIn[relPath]
|
||||||
|
if !info.IsDir() && !exists {
|
||||||
copyIn[relPath] = stage.CmdFile{Src: &absPath}
|
copyIn[relPath] = stage.CmdFile{Src: &absPath}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user