Assorted changes after upgrading WebStorm and Node

This commit is contained in:
Jeff Parsons 2015-03-31 13:50:21 -07:00 committed by jeffpar
commit ca8fa1e5ee
5 changed files with 210 additions and 43 deletions

View file

@ -330,7 +330,7 @@ function doCommand(sCmd)
var onCommand = function (cmd, context, filename, callback)
{
var result = false;
var match = cmd.match(/\(\s*(.*)\s*\)/);
var match = cmd.match(/^\(?\s*(.*?)\s*\)?$/);
if (match) {
result = doCommand(match[1]);
}