chore: update clientfilesystemread.go
Signed-off-by: rrylee <rrylee1994@gmail.com>
This commit is contained in:
parent
e110ac05a2
commit
c4ff6f9aa8
@ -39,7 +39,7 @@ func (t clientFilesystemReadTask) PreRun(_ context.Context, pctx *plancontext.Co
|
|||||||
return fmt.Errorf("path %q cannot be stat'd: %w", path, err)
|
return fmt.Errorf("path %q cannot be stat'd: %w", path, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if plancontext.IsFSValue(v.Lookup("contents")) {
|
if isFS {
|
||||||
pctx.LocalDirs.Add(path)
|
pctx.LocalDirs.Add(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user