mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-22 01:42:47 +01:00
fix compile bug when coffie files are not available
This commit is contained in:
parent
c57ebdccac
commit
b2e2cbeda5
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.
Loading…
x
Reference in New Issue
Block a user