Chore: avoid provider unnecessary write file operations (#1210)
This commit is contained in:
parent
cd48f69b1f
commit
6036fb63ba
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ func (f *fetcher) Initial() (interface{}, error) {
|
|||
}
|
||||
}
|
||||
|
||||
if f.vehicle.Type() != File {
|
||||
if f.vehicle.Type() != File && !isLocal {
|
||||
if err := safeWrite(f.vehicle.Path(), buf); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue