mirror of https://github.com/laurent22/joplin.git
Generator: Fixed crash when no external script needs to be compiled
parent
4a230d7cd5
commit
e559999aa4
|
@ -270,4 +270,10 @@ try {
|
|||
process.exit(1);
|
||||
}
|
||||
|
||||
if (!exportedConfigs.length) {
|
||||
// Nothing to do - for example where there are no external scripts to
|
||||
// compile.
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
module.exports = exportedConfigs;
|
||||
|
|
Loading…
Reference in New Issue