Skip to content

Commit 090d4c9

Browse files
Robert Bakeralexeagle
Robert Baker
authored andcommitted
fix(@angular-devkit/build-angular): fixes hash comparison for service worker (#11865)
1 parent 3d2a2f5 commit 090d4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/utils/run-module-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
process.on('message', (message) => {
1010
// Only process messages with the hash in 'run-module-as-observable-fork.ts'.
11-
if (message.hash = '5d4b9a5c0a4e0f9977598437b0e85bcc') {
11+
if (message.hash === '5d4b9a5c0a4e0f9977598437b0e85bcc') {
1212
const requiredModule = require(message.modulePath);
1313
if (message.exportName) {
1414
requiredModule[message.exportName](...message.args);

0 commit comments

Comments
 (0)