fix: prefer-at disable for backend compat, final lint pass
This commit is contained in:
@@ -284,6 +284,7 @@ export const preparePublicGitSource = (
|
||||
}
|
||||
|
||||
const segments = repositoryPath.split("/").filter((s) => s.length > 0);
|
||||
// eslint-disable-next-line unicorn/prefer-at -- backend Convex tsconfig targets pre-ES2022
|
||||
const lastSegment = segments[segments.length - 1];
|
||||
if (!lastSegment || isWhitespaceOnly(lastSegment)) {
|
||||
return yield* Effect.fail(INVALID_GIT_URL);
|
||||
|
||||
Reference in New Issue
Block a user