From c3a5a680ad4b36a960986c5b017285332e003242 Mon Sep 17 00:00:00 2001 From: Lukas Malkmus Date: Tue, 27 Oct 2020 01:30:19 +0100 Subject: [PATCH] Run ESLint --- src/version.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/version.ts b/src/version.ts index 5a036722f2..a059af4a87 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,6 +1,6 @@ import * as core from "@actions/core" import * as httpm from "@actions/http-client" -import * as fs from 'fs' +import * as fs from "fs" // TODO: make a class export type Version = { @@ -61,7 +61,7 @@ const getRequestedLintVersion = (): Version => { let requestedLintVersion = core.getInput(`version`) if (requestedLintVersion == "") { - const content = fs.readFileSync('go.mod', 'utf-8') + const content = fs.readFileSync("go.mod", "utf-8") const match = content.match(modVersionRe) if (match) { requestedLintVersion = match[0]