diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-02-11 18:18:33 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-02-11 18:18:33 +0100 |
commit | e7eed2abbe91fa44bd071819123bd9ea04d1702a (patch) | |
tree | db6290eec86c94cb31ab8d2eeb26fa7145c6c09e /lib/fs | |
parent | 98a13cf487e3b2823cfde38ab1d1b8f97f614517 (diff) | |
download | gitbook-e7eed2abbe91fa44bd071819123bd9ea04d1702a.zip gitbook-e7eed2abbe91fa44bd071819123bd9ea04d1702a.tar.gz gitbook-e7eed2abbe91fa44bd071819123bd9ea04d1702a.tar.bz2 |
Complete conrefs in parsing
Diffstat (limited to 'lib/fs')
-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 |