Comparing version 0.2.1 to 0.2.2
@@ -9,3 +9,3 @@ /** | ||
* | ||
* @version 0.2.0 | ||
* @version 0.2.2 | ||
*/ | ||
@@ -88,3 +88,3 @@ | ||
*/ | ||
append : promisify(fs.appendFile), | ||
append : emfileFixWrapper(promisify(fs.appendFile)), | ||
@@ -351,2 +351,2 @@ /** | ||
} | ||
}; | ||
}; |
{ | ||
"name" : "vow-fs", | ||
"version" : "0.2.1", | ||
"version" : "0.2.2", | ||
"description" : "File I/O by Vow", | ||
"homepage" : "https://github.com/dfilatov/vow-fs", | ||
"keywords" : ["vow", "file system"], | ||
"keywords" : ["vow", "promise", "file system"], | ||
"author" : "Dmitry Filatov <dfilatov@yandex-team.ru>", | ||
@@ -8,0 +8,0 @@ "contributors" : [{ |
42
test.js
@@ -1,5 +0,6 @@ | ||
var vfs = require('./lib/fs'); | ||
var fs = require('./lib/fs'), | ||
path = require('path'); | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
fs.remove('test/test-dir').then(function(ex) { | ||
console.log('!'); | ||
}, function(err) { | ||
@@ -9,36 +10,1 @@ console.log(err); | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
}, function(err) { | ||
console.log(err); | ||
}) | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
}, function(err) { | ||
console.log(err); | ||
}) | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
}, function(err) { | ||
console.log(err); | ||
}) | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
}, function(err) { | ||
console.log(err); | ||
}) | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
}, function(err) { | ||
console.log(err); | ||
}) | ||
vfs.makeDir('blocks-desktop/i18n/_keyset').then(function() { | ||
console.log('ok'); | ||
}, function(err) { | ||
console.log(err); | ||
}) |
28507
754