From a39b6a7d14a5855c9d28cab7cde537d4dc45e4b3 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Tue, 20 Feb 2024 14:20:23 +0000 Subject: [PATCH] Format --- src/buf.ts | 4 ++-- src/run.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buf.ts b/src/buf.ts index a69960a..eb87570 100644 --- a/src/buf.ts +++ b/src/buf.ts @@ -55,7 +55,7 @@ export function lint(binaryPath: string, input: string): LintResult | Error { return rawOutput; } const jsonOutput = runLintCommand( - `${binaryPath} lint ${input} --error-format=json` + `${binaryPath} lint ${input} --error-format=json`, ); if (isError(jsonOutput)) { return jsonOutput; @@ -66,7 +66,7 @@ export function lint(binaryPath: string, input: string): LintResult | Error { .split("\n") .filter((elem) => { return elem !== ""; - }) + }), ); if (isError(fileAnnotations)) { return fileAnnotations; diff --git a/src/run.ts b/src/run.ts index a0f6c54..04f71ac 100644 --- a/src/run.ts +++ b/src/run.ts @@ -101,7 +101,7 @@ async function runLint(): Promise { // For more information, see the documentation: // https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message core.info( - `::error file=${path},line=${start_line},col=${start_column}::${message}` + `::error file=${path},line=${start_line},col=${start_column}::${message}`, ); }); return {