mirror of
https://github.com/wekan/wekan.git
synced 2026-02-10 02:04:20 +01:00
Change the radom to random typo in export.js
This commit is contained in:
parent
32f50e1658
commit
e195c731de
2 changed files with 6 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue