fix(@angular-devkit/build-angular): fixes hash comparison for service worker (#11865)

This commit is contained in:
Robert Baker 2018-08-15 15:51:03 -07:00 committed by Alex Eagle
parent b8d4e19fc4
commit e8f18b71b1

View File

@ -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);