You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2023. It is now read-only.
I think the code is intended to use
pm_cwdas a current working directory iftargetApp.cwdis not specified.pm2-githook/index.js
Line 129 in 9774c8b
But
execOptionsis not updated in this process, so an unintended directory is used as a current working directory on preHook and postHook.I think the easiness solution is adding
execOptions.cwd = targetApp.cwd;after updatingtargetApp.cwd.