mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-23 17:29:46 +02:00
fix compile bug when coffie files are not available
This commit is contained in:
Binary file not shown.
@ -347,6 +347,10 @@ namespace OS {
|
|||||||
*/
|
*/
|
||||||
private compile_coffee(list: string[]): Promise<string> {
|
private compile_coffee(list: string[]): Promise<string> {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
|
if(list.length == 0)
|
||||||
|
{
|
||||||
|
return resolve("");
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
await this.verify_coffee(list.map((x: string) => x));
|
await this.verify_coffee(list.map((x: string) => x));
|
||||||
try {
|
try {
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user