mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Updated dependencies and linter
This commit is contained in:
@@ -175,7 +175,7 @@ self.loadRequiredModules = function(recipeConfig) {
|
||||
recipeConfig.forEach(op => {
|
||||
const module = self.OperationConfig[op.op].module;
|
||||
|
||||
if (!OpModules.hasOwnProperty(module)) {
|
||||
if (!(module in OpModules)) {
|
||||
log.info(`Loading ${module} module`);
|
||||
self.sendStatusMessage(`Loading ${module} module`);
|
||||
self.importScripts(`${self.docURL}/modules/${module}.js`);
|
||||
|
||||
Reference in New Issue
Block a user