fix(core.gbapp): SaaS missing in PROD.
This commit is contained in:
		
							parent
							
								
									6eb08cf798
								
							
						
					
					
						commit
						f847c09c89
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -437,7 +437,7 @@ export class GBDeployer implements IGBDeployer {
 | 
			
		|||
    let rows: any[] = [];
 | 
			
		||||
    let obj: any = {};
 | 
			
		||||
 | 
			
		||||
    const workbook = new Excel.Workbook();
 | 
			
		||||
    const workbook =  new Excel.Workbook();
 | 
			
		||||
 | 
			
		||||
    if (await GBUtil.exists(xls)) {
 | 
			
		||||
      await workbook.xlsx.readFile(xls);
 | 
			
		||||
| 
						 | 
				
			
			@ -467,7 +467,11 @@ export class GBDeployer implements IGBDeployer {
 | 
			
		|||
    }
 | 
			
		||||
    await asyncPromise.eachSeries(rows, async (line: any) => {
 | 
			
		||||
      if (line && line.length > 0) {
 | 
			
		||||
        obj[line[1]] = line[2];
 | 
			
		||||
        const key = line[1]?.trim();
 | 
			
		||||
        const value = line[2]?.trim();
 | 
			
		||||
        if (key && value) {
 | 
			
		||||
          obj[key] = value;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue