@ronomon/opened
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -70,3 +70,3 @@ 'use strict'; | ||
if (error) return end(error); | ||
end(undefined, files.hasOwnProperty(path)); | ||
end(undefined, files[path]); | ||
} | ||
@@ -73,0 +73,0 @@ ); |
{ | ||
"name": "@ronomon/opened", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Check if a file is open in another application on Windows, macOS and Linux.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,3 +25,3 @@ # opened | ||
function(path) { | ||
console.log(path + ' open=' + hashTable.hasOwnProperty(path)); | ||
console.log(path + ' open=' + hashTable[path]); | ||
} | ||
@@ -28,0 +28,0 @@ ); |
18737