Skip to content

Commit

Permalink
Update cli flag to use --format=json as --json is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Suen committed Apr 25, 2022
1 parent beb85f3 commit 170b67d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class TemplateLintExternalRunner(private val myIsOnTheFly: Boolean = false) {
sessionData.templateLintPackage
.addMainEntryJsFile(commandLine, sessionData.interpreter)

commandLine.addParameter("--json")
commandLine.addParameter("--format=json")

val pathToLint = FileUtil.toSystemDependentName(sessionData.fileToLint.path)
val relativePath = FileUtil.getRelativePath(workDirectory.absolutePath, pathToLint, File.separatorChar)
Expand Down

0 comments on commit 170b67d

Please sign in to comment.