mirror of https://github.com/actions/toolkit
Change `var` to `const`
parent
11601c0d2d
commit
1dbb807904
|
@ -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);
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue