mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 15:53:30 +00:00
Fixed tests and Node version to work with modules
This commit is contained in:
@@ -11,7 +11,7 @@ import Diff from "../../operations/Diff.js";
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
let OpModules = self.OpModules || {};
|
||||
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
||||
|
||||
OpModules.Diff = {
|
||||
"Diff": Diff.runDiff,
|
||||
|
||||
Reference in New Issue
Block a user