function errorHandler(error) {
          var analysis = /(.*)\:(\d+)\:\s*error\:\s*(.*)/.exec(error);
          var message  = analysis ?
            (path.resolve(analysis[1]) + ':' + analysis[2] + ':0: ' + analysis[3] + '\n') :
            ('TODO parse this error\n' + error + '\n');
          if (output.indexOf(message) < 0) {
            output.push(message);
          }
          done();
        }
/**
         * Handler for error in node-sass.
         * @param {string} error The error text from node-sass
         */
Handler for error in node-sass.
@param {string} error The error text from node-sass
Handler for error in node - sass . @param { string } error The error text from node - sass
function errorHandler(error) {
          var analysis = /(.*)\:(\d+)\:\s*error\:\s*(.*)/.exec(error);
          var message  = analysis ?
            (path.resolve(analysis[1]) + ':' + analysis[2] + ':0: ' + analysis[3] + '\n') :
            ('TODO parse this error\n' + error + '\n');
          if (output.indexOf(message) < 0) {
            output.push(message);
          }
          done();
        }
function errorHandler ( error ) { var analysis = / (.*)\:(\d+)\:\s*error\:\s*(.*) / . exec ( error ) ; var message = analysis ? ( path . resolve ( analysis [ 1 ] ) + ':' + analysis [ 2 ] + ':0: ' + analysis [ 3 ] + '\n' ) : ( 'TODO parse this error\n' + error + '\n' ) ; if ( output . indexOf ( message ) < 0 ) { output . push ( message ) ; } done ( ) ; }
Handler for error in node-sass.
Handler for error in node - sass .