fixing next canary change

This commit is contained in:
Jean Ouina 2020-06-05 21:14:16 +02:00
parent c30f9f170b
commit c39247c09a
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ import ContentManager from "./contentManager";
const fs = require("fs");
const path = require("path");
const releaseChannel = DiscordNative.globals.releaseChannel;
const releaseChannel = DiscordNative.globals ? DiscordNative.globals.releaseChannel : DiscordNative.app ? DiscordNative.app.getReleaseChannel() : "stable";
export default new class DataStore {
constructor() {