Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Jan 30, 2025
1 parent 4861def commit 7b76c90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/plugins/plugin_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const createPluginController = (
// precompute a list of hooks per hookName for one major reason:
// - When debugging, there is less iteration
// also it should increase perf as there is less work to do
const hookGroups = {};
let hookGroups = {};
const addPlugin = (plugin, options) => {
if (Array.isArray(plugin)) {
for (const value of plugin) {
Expand Down Expand Up @@ -157,6 +157,7 @@ export const createPluginController = (
activePlugins.sort((a, b) => {
return pluginCandidates.indexOf(a) - pluginCandidates.indexOf(b);
});
hookGroups = {};
for (const activePlugin of activePlugins) {
for (const key of Object.keys(activePlugin)) {
if (key === "meta") {
Expand Down
4 changes: 0 additions & 4 deletions src/plugins/protocol_file/jsenv_plugin_directory_listing.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
* je devrait pouvoir modifier le contenu du html
* mais je suppose qu'il faut que je le fasse avant que supervisor mette son nez dedans
* donc dans fetchUrlContent? c'est pour ça? a confirmer
*
* ideally when 404 on file we would do this:
* display in the nav what was not found (like a red cross next to it)
* including the file itself if any, to show the 404 on the file
*/

import {
Expand Down

0 comments on commit 7b76c90

Please sign in to comment.