mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	fix condition for platform check
This commit is contained in:
		| @@ -92,7 +92,7 @@ describe('watch Node', function() { | ||||
|                     msg.should.have.property('payload', result.payload); | ||||
|                     msg.should.have.property('type', result.type); | ||||
|                     if('size' in result) { | ||||
|                         if (!((arch != "arm64") && (platform !== "darwin"))) { | ||||
|                         if (!((arch === "arm64") && (platform === "darwin"))) { | ||||
|                             // On OSX/ARM, two change events occur and first event do not reflect file size change.  So ignore size field in the case.  | ||||
|                             msg.should.have.property('size', result.size); | ||||
|                         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user