From 1dbb8079040c657bb41c5191a4ca8177bda18f5f Mon Sep 17 00:00:00 2001 From: RA80533 <32469082+RA80533@users.noreply.github.com> Date: Sat, 12 Jun 2021 00:10:53 -0400 Subject: [PATCH] Change `var` to `const` --- packages/core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/README.md b/packages/core/README.md index deffaa5d..52e18954 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -203,7 +203,7 @@ In action's `cleanup.js`: ```js const core = require('@actions/core'); -var pid = core.getState("pidToKill"); +const pid = core.getState("pidToKill"); process.kill(pid); ```