mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
fix(@angular-devkit/build-angular): fixes hash comparison for service worker (#11865)
This commit is contained in:
parent
b8d4e19fc4
commit
e8f18b71b1
@ -8,7 +8,7 @@
|
||||
|
||||
process.on('message', (message) => {
|
||||
// Only process messages with the hash in 'run-module-as-observable-fork.ts'.
|
||||
if (message.hash = '5d4b9a5c0a4e0f9977598437b0e85bcc') {
|
||||
if (message.hash === '5d4b9a5c0a4e0f9977598437b0e85bcc') {
|
||||
const requiredModule = require(message.modulePath);
|
||||
if (message.exportName) {
|
||||
requiredModule[message.exportName](...message.args);
|
||||
|
Loading…
x
Reference in New Issue
Block a user