We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffb3672 commit afff3acCopy full SHA for afff3ac
src-build/utils.js
@@ -1,6 +1,5 @@
1
import * as fsExtra from "fs-extra";
2
-import fs from 'fs';
3
-import {promises as fsPromises} from 'fs';
+import fs, {promises as fsPromises} from 'fs';
4
import * as path from "path";
5
import * as os from "os";
6
import {fileURLToPath} from "url";
@@ -117,7 +116,7 @@ export function patchTauriConfigWithMetricsHTML(tauriConf) {
117
116
throw new Error("Unknown Phoenix stage(config.environment) in file " + phoenixConfigPath);
118
}
119
const window = tauriConf.tauri.windows[1];
120
- if(!window.label === "healthData"){
+ if(window.label !== "healthData"){
121
throw new Error("Expected tauriConf.json- tauri.windows[1].label to be 'healthData'");
122
123
window.url = metricsURLToUse;
0 commit comments