From 2cc1c5ac6cbe991fe77fc9142e89b0beada2a875 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Fri, 14 Jun 2024 22:01:06 -0400 Subject: [PATCH] chore: fix linter errors --- eslint.config.js | 3 +++ packages/backend/src/boot/RuntimeEnvironment.js | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index e603aadc..4947ae72 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -75,6 +75,9 @@ export default [ "io": true, // socket.io "timeago": true, // timeago "SelectionArea": true, // viselect + // Puter GUI Globals + "set_menu_item_prop": true, + "determine_active_container_parent": true, } } }, diff --git a/packages/backend/src/boot/RuntimeEnvironment.js b/packages/backend/src/boot/RuntimeEnvironment.js index 70d263fd..05828f43 100644 --- a/packages/backend/src/boot/RuntimeEnvironment.js +++ b/packages/backend/src/boot/RuntimeEnvironment.js @@ -311,13 +311,6 @@ class RuntimeEnvironment extends AdvancedBase { const mod_paths = []; environment.mod_paths = mod_paths; - // TODO: implement `get_all_suitable_paths_` so we can load mods - // from multiple locations. Note: we'll need to carefully consider - // how this is configured. - if ( false ) if ( mods_path_entry ) { - mod_paths.push(mods_path_entry.path); - } - // If configured, add a user-specified mod path if ( config.mod_directories ) { for ( const dir of config.mod_directories ) {