Skip to content
This repository
Browse code

Revert "Merge pull request #2508 from ajaxorg/fix/dryice"

This reverts commit e88736f, reversing
changes made to 8c73f3f.
  • Loading branch information...
commit 279a30f8f63e28af78a625d0ef034482d319158a 1 parent 783ce98
Mostafa Eweda mostafaeweda authored

Showing 1 changed file with 4 additions and 6 deletions. Show diff stats Hide diff stats

  1. +4 6 Makefile.dryice.js
10 Makefile.dryice.js
@@ -44,15 +44,13 @@ function worker(project) {
44 44
45 45 // We don't get a return value from dryice, so we monkey patch error handling
46 46 var yeOldeError = console.error;
47   - console.error = function(msg) {
48   - if (msg.indexOf("Failed to find module:") > -1)
49   - return console.log(msg);
  47 + console.error = function() {
50 48 yeOldeError();
51   - yeOldeError("@@@@ FATAL ERROR: DRYICE FAILED", msg);
  49 + yeOldeError("@@@@ FATAL ERROR: DRYICE FAILED", arguments);
52 50 yeOldeError();
53 51 process.exit(1);
54 52 };
55   -
  53 +
56 54 copy({
57 55 source: [
58 56 copy.source.commonjs({
@@ -91,7 +89,7 @@ function worker(project) {
91 89 filter: [ /* copy.filter.uglifyjs */],
92 90 dest: __dirname + "/plugins-client/lib.ace/www/worker/worker-language.js"
93 91 });
94   -
  92 +
95 93 console.error = yeOldeError;
96 94 }
97 95

0 comments on commit 279a30f

Please sign in to comment.
Something went wrong with that request. Please try again.