summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAAGaming <aa@mail.catvibers.me>2022-06-21 09:52:54 -0400
committerGitHub <noreply@github.com>2022-06-21 09:52:54 -0400
commite6e74d8e9dcb0612e6e567a2300cca3e8c680f27 (patch)
tree812fd1737ecb0453a05e86ce2dff2cff54b85c97
parent6289578f68435a341566c80cff2df2b5dc3005c4 (diff)
downloaddecky-loader-e6e74d8e9dcb0612e6e567a2300cca3e8c680f27.tar.gz
decky-loader-e6e74d8e9dcb0612e6e567a2300cca3e8c680f27.zip
Don't allow overriding name
-rw-r--r--frontend/src/plugin-loader.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index 5f284503..9b1020c7 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -119,8 +119,8 @@ class PluginLoader extends Logger {
if (res.ok) {
let plugin = await eval(await res.text())(this.createPluginAPI(name));
this.plugins.push({
- name: name,
...plugin,
+ name: name,
});
} else throw new Error(`${name} frontend_bundle not OK`);
}