We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0751a9 commit 69f1542Copy full SHA for 69f1542
src/extension.ts
@@ -171,9 +171,12 @@ const githubValidator: Validator = async (filepath) => {
171
};
172
173
const codeownershipValidator: Validator = async (filepath) => {
174
+ // bin/codeownership currenlty wants relative paths
175
+ const relativePath = relative(process.cwd(), filepath);
176
+
177
const output = runCommand(
178
process.cwd(),
- `bin/codeownership for_file "${filepath}" --json`,
179
+ `bin/codeownership for_file "${relativePath}" --json`,
180
);
181
182
try {
0 commit comments