コード例 #1
0
ファイル: grunt.js プロジェクト: SupplyFrame/grunt-submodule
grunt.fail.fatal = function (e, errcode) {
  process.send({
    fail: 'fatal',
    error: errorToObject(e),
    errcode: errcode
  });
  grunt.task.clearQueue();
  grunt.util.exit(typeof errcode === 'number' ? errcode : grunt.fail.code.FATAL_ERROR);
};