diff --git a/shortcuts/apps/apps_plugin_install.go b/shortcuts/apps/apps_plugin_install.go index fa6871cea..7c929aaa9 100644 --- a/shortcuts/apps/apps_plugin_install.go +++ b/shortcuts/apps/apps_plugin_install.go @@ -226,7 +226,7 @@ func pluginInstallLocal(rctx *common.RuntimeContext, projectPath, tgzPath string } // Extract to a temp dir first to read package.json - tmpDir, err := os.MkdirTemp("", "plugin-local-*") //nolint:forbidigo + tmpDir, err := os.MkdirTemp(projectPath, ".plugin-tmp-*") //nolint:forbidigo // same FS as node_modules to avoid EXDEV on Rename if err != nil { return appsFileIOError(err, "cannot create temp dir") }