chore: fix lint/test gating
This commit is contained in:
1 parent
a3dc46bf9d
commit
2477ffd860
7 files changed
+21
-12
No files matched your search
@@ -123,7 +123,7 @@ export function registerBrowserAgentRoutes(
|
||||
const body = readBody(req);
|
||||
const kind = toStringOrEmpty(body.kind) as ActKind;
|
||||
const targetId = toStringOrEmpty(body.targetId) || undefined;
|
||||
if (Object.prototype.hasOwnProperty.call(body, "selector")) {
|
||||
if (Object.hasOwn(body, "selector")) {
|
||||
return jsonError(res, 400, SELECTOR_UNSUPPORTED_MESSAGE);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user