Merge pull request #9758 from timvandermeij/unlink
Use `fs.unlinkSync` instead of `fs.unlink` when removing `eq.log`
This commit is contained in:
		
						commit
						7cd6c0fbf2
					
				@ -207,7 +207,7 @@ function startRefTest(masterMode, showRefImages) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (fs.existsSync(eqLog)) {
 | 
			
		||||
      fs.unlink(eqLog);
 | 
			
		||||
      fs.unlinkSync(eqLog);
 | 
			
		||||
    }
 | 
			
		||||
    if (fs.existsSync(testResultDir)) {
 | 
			
		||||
      testUtils.removeDirSync(testResultDir);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user