Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address pr comment: use loc.TempDir
  • Loading branch information
efd6 committed Nov 5, 2025
commit 819f814533ab371a5a5d1ca46d0c2d88230a0dd1
2 changes: 1 addition & 1 deletion internal/testrunner/script/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Run(dst io.Writer, cmd *cobra.Command, args []string) error {
if err != nil {
return err
}
workRoot := filepath.Join(home, filepath.FromSlash(".elastic-package/tmp/script_tests"))
workRoot := filepath.Join(home, loc.TempDir(), "script_tests")
err = os.MkdirAll(workRoot, 0o700)
if err != nil {
return fmt.Errorf("could not make work space root: %w", err)
Expand Down