Skip to content

Commit ca4594c

Browse files
committed
umm
1 parent 750ad11 commit ca4594c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisioner/terraform/modules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func getModulesArchive(workdir string) ([]byte, error) {
9393
}
9494
archivePath, found := strings.CutPrefix(filePath, workdir+string(os.PathSeparator))
9595
if !found {
96-
return xerrors.Errorf("walked invalid file path: %q", filePath)
96+
return xerrors.Errorf("walked invalid file path: %q (expected to start with %q)", filePath, workdir)
9797
}
9898

9999
content, err := os.ReadFile(filePath)

0 commit comments

Comments
 (0)