We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 750ad11 commit ca4594cCopy full SHA for ca4594c
provisioner/terraform/modules.go
@@ -93,7 +93,7 @@ func getModulesArchive(workdir string) ([]byte, error) {
93
}
94
archivePath, found := strings.CutPrefix(filePath, workdir+string(os.PathSeparator))
95
if !found {
96
- return xerrors.Errorf("walked invalid file path: %q", filePath)
+ return xerrors.Errorf("walked invalid file path: %q (expected to start with %q)", filePath, workdir)
97
98
99
content, err := os.ReadFile(filePath)
0 commit comments