From 9d9939801e2454e22c09227d6fe8ff47938b5e96 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Mon, 22 Apr 2024 16:05:15 -0400 Subject: [PATCH] Fix: var -> const. (#258) Signed-off-by: dblock --- .github/workflows/coverage-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage-comment.yml b/.github/workflows/coverage-comment.yml index 687c269a4..959d7a328 100644 --- a/.github/workflows/coverage-comment.yml +++ b/.github/workflows/coverage-comment.yml @@ -26,7 +26,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); - var data = JSON.parse(fs.readFileSync('./coverage.json')); + const data = JSON.parse(fs.readFileSync('./coverage.json')); console.log(data); await github.issues.createComment({ owner: context.repo.owner,