Skip to content

Commit

Permalink
error message if maker is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
hkollmann committed Nov 3, 2020
1 parent 0db59b4 commit 510e103
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ qx.Class.define("qxl.apiviewer.compile.LibraryApi", {
console.log(`start analyse for ${appToScan}`);
}
let maker = command.getMakersForApp(appToScan)[0];
if (!maker) {
console.error(`could not find a maker for application ${appToScan}`);
return;
}
let analyser = maker.getAnalyser();
let target = maker.getTarget();
let outDir = target.getOutputDir();
Expand Down

0 comments on commit 510e103

Please sign in to comment.