From 082a9212319a155b40ad86012502a4984c15a715 Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Tue, 1 Mar 2016 20:30:21 +0530 Subject: [PATCH 1/2] fixes regex --- lib/Local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Local.js b/lib/Local.js index 6abd481..ea4500f 100644 --- a/lib/Local.js +++ b/lib/Local.js @@ -12,7 +12,7 @@ function Local(){ this.logfile = path.join(process.cwd(), 'local.log'); this.exitCallback; - this.errorRegex = /\*\*\* Error\: [^\n]+?/i; + this.errorRegex = /(\*\*\* Error\: [^\n]+?)/i; this.doneRegex = /Press Ctrl-C to exit/i; this.start = function(options, callback){ From bc99f22f51f4271ca8d97bf8540ae647a5ad1bd5 Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Tue, 1 Mar 2016 21:05:57 +0530 Subject: [PATCH 2/2] updated regex --- lib/Local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Local.js b/lib/Local.js index ea4500f..4ede801 100644 --- a/lib/Local.js +++ b/lib/Local.js @@ -12,7 +12,7 @@ function Local(){ this.logfile = path.join(process.cwd(), 'local.log'); this.exitCallback; - this.errorRegex = /(\*\*\* Error\: [^\n]+?)/i; + this.errorRegex = /\*\*\* Error: [^\n]+/i; this.doneRegex = /Press Ctrl-C to exit/i; this.start = function(options, callback){