diff options
author | Sam X. Chen <sam.xi.chen@gmail.com> | 2019-10-29 17:45:06 -0400 |
---|---|---|
committer | Sam X. Chen <sam.xi.chen@gmail.com> | 2019-10-29 17:45:06 -0400 |
commit | e195c731de88aba4026c239f4552ae821d522ec7 (patch) | |
tree | a9ab48b8e4aaa4c77218e9be92af39793a03eaaf /models/export.js | |
parent | 32f50e16586696ec7d100ce0438d1030ae1f606e (diff) | |
download | wekan-e195c731de88aba4026c239f4552ae821d522ec7.tar.gz wekan-e195c731de88aba4026c239f4552ae821d522ec7.tar.bz2 wekan-e195c731de88aba4026c239f4552ae821d522ec7.zip |
Change the radom to random typo in export.js
Diffstat (limited to 'models/export.js')
-rw-r--r-- | models/export.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/export.js b/models/export.js index 5d356487..056eefdc 100644 --- a/models/export.js +++ b/models/export.js @@ -142,7 +142,7 @@ export class Exporter { // callback has the form function (err, res) {} const tmpFile = path.join( os.tmpdir(), - `tmpexport${process.pid}${Math.radom()}`, + `tmpexport${process.pid}${Math.random()}`, ); const tmpWriteable = fs.createWriteStream(tmpFile); const readStream = doc.createReadStream(); |