fix: npm run start bug when extensions not exist
				
					
				
			This commit is contained in:
		
							parent
							
								
									efd56c94e1
								
							
						
					
					
						commit
						11134e365e
					
				@ -36,6 +36,12 @@ if (existsSync(profilePath)) {
 | 
				
			|||||||
      writeAddonProxyFile();
 | 
					      writeAddonProxyFile();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
 | 
					    if (
 | 
				
			||||||
 | 
					      existsSync(profilePath) &&
 | 
				
			||||||
 | 
					      !existsSync(path.join(profilePath, "extensions"))
 | 
				
			||||||
 | 
					    ) {
 | 
				
			||||||
 | 
					      mkdirSync(path.join(profilePath, "extensions"));
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    writeAddonProxyFile();
 | 
					    writeAddonProxyFile();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user