Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Feb 20, 2024
1 parent 89dd873 commit a39b6a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/buf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -66,7 +66,7 @@ export function lint(binaryPath: string, input: string): LintResult | Error {
.split("\n")
.filter((elem) => {
return elem !== "";
})
}),
);
if (isError(fileAnnotations)) {
return fileAnnotations;
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async function runLint(): Promise<null | Error> {
// 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 {
Expand Down

0 comments on commit a39b6a7

Please sign in to comment.