mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
site specific flags
This commit is contained in:
parent
0906dd78a9
commit
920bbd8d69
8 changed files with 34 additions and 11 deletions
|
@ -1,7 +1,9 @@
|
|||
import { flagEnabled } from "../../scramjet";
|
||||
import { config } from "../../shared";
|
||||
import { ScramjetClient } from "../client";
|
||||
|
||||
export const enabled = () => config.flags.captureErrors;
|
||||
export const enabled = (client: ScramjetClient) =>
|
||||
flagEnabled("captureErrors", client.url);
|
||||
export function argdbg(arg, recurse = []) {
|
||||
switch (typeof arg) {
|
||||
case "string":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue