fix compile bug when coffie files are not available

This commit is contained in:
lxsang 2021-04-13 09:49:01 +02:00
parent c57ebdccac
commit b2e2cbeda5
3 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -347,6 +347,10 @@ namespace OS {
*/
private compile_coffee(list: string[]): Promise<string> {
return new Promise(async (resolve, reject) => {
if(list.length == 0)
{
return resolve("");
}
try {
await this.verify_coffee(list.map((x: string) => x));
try {