Skip to content

Commit

Permalink
fix(cockpit): add missing process shim into polyfills
Browse files Browse the repository at this point in the history
Fixes hyperledger#410

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Dec 11, 2020
1 parent 40958be commit da73b59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cactus-cockpit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "4.0.1",
"karma-jasmine-html-reporter": "1.5.4",
"process": "0.11.10",
"protractor": "7.0.0",
"tslint": "~6.1.0",
"typescript": "4.0.5",
Expand Down
3 changes: 3 additions & 0 deletions packages/cactus-cockpit/src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ import "zone.js/dist/zone"; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/

// @see https://github.com/hyperledger/cactus/issues/410
window.process = require("process");

0 comments on commit da73b59

Please sign in to comment.