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]