Skip to content

Commit e8f18b7

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

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

+1-1
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)