Change the radom to random typo in export.js

This commit is contained in:
Sam X. Chen 2019-10-29 17:45:06 -04:00
parent 32f50e1658
commit e195c731de
2 changed files with 6 additions and 4 deletions

View file

@ -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();