Skip to content

Commit

Permalink
fix(runtime): fix DISABLE_MODULE_CACHE condition error (labring#1630)
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow authored Nov 1, 2023
1 parent c92d405 commit 62cc5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimes/nodejs/src/support/engine/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class FunctionModule {
)

// cache module
if (Config.DISABLE_MODULE_CACHE) {
if (!Config.DISABLE_MODULE_CACHE) {
FunctionModule.cache.set(name, functionModule)
}
return functionModule
Expand Down

0 comments on commit 62cc5a7

Please sign in to comment.