Skip to content

Commit 68291d5

Browse files
fix: Remove unnecessary condition from run function in EditorFile class (#1805)
1 parent eb169fa commit 68291d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/editorFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ export default class EditorFile {
11731173
const event = createFileEvent(this);
11741174
this.#emit("run", event);
11751175
if (event.defaultPrevented) return;
1176-
run(false, file ? "inapp" : appSettings.value.previewMode, file);
1176+
run(false, appSettings.value.previewMode, file);
11771177
}
11781178

11791179
#updateTab() {

0 commit comments

Comments
 (0)