logging code
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -55,6 +55,7 @@ async function write(directory: string, settings: string) {
 | 
				
			|||||||
      // default flag is 'w'
 | 
					      // default flag is 'w'
 | 
				
			||||||
      return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
 | 
					      return fs.writeFileSync(location, settings, {encoding: 'utf-8'});
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    console.log(`code ${e.code} and O_EXCL ${fs.constants.O_EXCL}`);
 | 
				
			||||||
    throw e;
 | 
					    throw e;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user