Make ReactDevTools Opt-in

This commit is contained in:
Vendicated 2022-10-11 21:48:28 +02:00
parent 516f8c488a
commit 86eacea74d
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
4 changed files with 24 additions and 7 deletions

View file

@ -24,7 +24,7 @@ function readCss() {
return readFile(QUICKCSS_PATH, "utf-8").catch(() => "");
}
function readSettings() {
export function readSettings() {
try {
return readFileSync(SETTINGS_FILE, "utf-8");
} catch {