mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 21:46:37 +02:00
💄 Reformat affected JS files
This commit is contained in:
parent
3efd5cb9e8
commit
ecbedf847f
28 changed files with 720 additions and 285 deletions
|
@ -4,7 +4,9 @@ export class BasePage {
|
|||
throw new TypeError("Invalid page argument. Must be a Playwright page.");
|
||||
}
|
||||
if (typeof path !== "string" && !(path instanceof RegExp)) {
|
||||
throw new TypeError("Invalid path argument. Must be a string or a RegExp.");
|
||||
throw new TypeError(
|
||||
"Invalid path argument. Must be a string or a RegExp.",
|
||||
);
|
||||
}
|
||||
|
||||
const url = typeof path === "string" ? `**/api/rpc/command/${path}` : path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue