We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f931f44 commit c3a5a68Copy full SHA for c3a5a68
src/version.ts
@@ -1,6 +1,6 @@
1
import * as core from "@actions/core"
2
import * as httpm from "@actions/http-client"
3
-import * as fs from 'fs'
+import * as fs from "fs"
4
5
// TODO: make a class
6
export type Version = {
@@ -61,7 +61,7 @@ const getRequestedLintVersion = (): Version => {
61
let requestedLintVersion = core.getInput(`version`)
62
63
if (requestedLintVersion == "") {
64
- const content = fs.readFileSync('go.mod', 'utf-8')
+ const content = fs.readFileSync("go.mod", "utf-8")
65
const match = content.match(modVersionRe)
66
if (match) {
67
requestedLintVersion = match[0]
0 commit comments