Skip to content

Commit d10aee4

Browse files
committed
fix: run with file name in quotes
1 parent 80ac247 commit d10aee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const githubValidator: Validator = async (filepath) => {
145145
const codeownershipValidator: Validator = async (filepath) => {
146146
const output = runCommand(
147147
process.cwd(),
148-
`bin/codeownership for_file ${filepath} --json`,
148+
`bin/codeownership for_file "${filepath}" --json`,
149149
);
150150

151151
try {

0 commit comments

Comments
 (0)