Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Fixed variable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Jun 10, 2020
1 parent 3c26fb3 commit 28f9309
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ async function executeStylelint(fileInput: string, filePath: string, options: Fo
return
}

let result

try {
const result = await stylelint.lint({
result = await stylelint.lint({
fix: true,
code: fileInput,
codeFilename: filePath
Expand Down

0 comments on commit 28f9309

Please sign in to comment.