diff options
Diffstat (limited to 'lib/fs/index.js')
-rw-r--r-- | lib/fs/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fs/index.js b/lib/fs/index.js index 4fd63e9..3e0d711 100644 --- a/lib/fs/index.js +++ b/lib/fs/index.js @@ -51,7 +51,7 @@ FS.prototype.readdir = function(folder) { // Allocate a new temporary directory FS.prototype.tmpdir = function() { - return path.resolve(os.tmpdir(), _.uniqueId('gitbook_tmp_')); + return path.resolve(os.tmpdir(), 'gitbook_tmp_'+Date.now()); }; // List files in a directory |