message: Only treat AutoRest exceptions as failures
diff: @@ -58,7 +58,7 @@ async function getLinterResult(swaggerPath) {
  const { err, stdout, stderr } = await new Promise(res => exec(cmd, { encoding: 'utf8', maxBuffer: 1024 * 1024 * 64 },
  (err, stdout, stderr) => res({ err: err, stdout: stdout, stderr: stderr })));
  - if (err) {
  + if (err && stderr.indexOf("Process() cancelled due to exception") !== -1) {
  console.log(`AutoRest exited with code ${err.code}`);
  console.log(stderr);
  throw new Error("AutoRest failed");
  