diff --git a/README.md b/README.md index 46e405f..d34b950 100644 --- a/README.md +++ b/README.md @@ -126,5 +126,5 @@ const core = require('@actions/core'); var pid = core.getState("pidToKill"); -kill(pid); +process.kill(pid); ``` \ No newline at end of file