Skip to content

Commit

Permalink
Run ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Nov 27, 2020
1 parent f931f44 commit c3a5a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 = {
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit c3a5a68

Please sign in to comment.