ocrservice
Advanced tools
Comparing version 0.1.35 to 0.1.36
@@ -42,5 +42,6 @@ (function() { | ||
CWatcherClient.prototype.scan = function() { | ||
var me; | ||
var file, me; | ||
me = this; | ||
return fs.stat(path.join(me.pathname, me.filename), function(err, stat) { | ||
file = path.join(me.pathname, me.filename); | ||
return fs.stat(file, function(err, stat) { | ||
var now; | ||
@@ -57,4 +58,2 @@ if (err) { | ||
me.recognizer.on('error', function(err) { | ||
var file; | ||
file = path.join(me.pathname, me.filename); | ||
return fs.writeFile(path.join(me.pathname, 'bad', path.filename + '.txt'), JSON.stringify(err, null, 2), function(err) { | ||
@@ -61,0 +60,0 @@ if (err) { |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "0.1.35", | ||
"version": "0.1.36", | ||
"engines": { | ||
@@ -16,0 +16,0 @@ "node": ">=0.12.0" |
Sorry, the diff of this file is not supported yet
180838
2882