Skip to content

Commit b48e430

Browse files
EmyrkSasSwart
authored andcommitted
chore: do not call getwd, pass in static (#163)
1 parent 4f7c944 commit b48e430

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

preview.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func Preview(ctx context.Context, input Input, dir fs.FS) (output *Output, diagn
132132
parser.OptionWithTFVarsPaths(varFiles...),
133133
parser.OptionWithEvalHook(planHook),
134134
parser.OptionWithEvalHook(ownerHook),
135+
parser.OptionWithWorkingDirectoryPath("/"),
135136
parser.OptionWithEvalHook(parameterContextsEvalHook(input)),
136137
)
137138

0 commit comments

Comments
 (0)