standard
This commit is contained in:
parent
c764bf4884
commit
827131e136
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ let tmpPath
|
|||
try {
|
||||
tmpPath = path.join(fs.statSync('/tmp') && '/tmp', 'webtorrent')
|
||||
} catch (err) {
|
||||
tmpPath = path.join(os.tmpDir(), 'webtorrent')
|
||||
tmpPath = path.join(os.tmpdir(), 'webtorrent')
|
||||
}
|
||||
rimraf.sync(tmpPath)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue