node-proper-lockfile
node-proper-lockfile copied to clipboard
fix: check if onCompromised function is defined
This PR contains a quick fix: checking whether the onCompromised option has been defined or not before running the function.