mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use tmp.mkdir
This commit is contained in:
@@ -270,7 +270,7 @@ describe "Project", ->
|
||||
range: [[2, 6], [2, 11]]
|
||||
|
||||
it "works on evil filenames", ->
|
||||
temp = process.env['TEMP'] || process.env['TMPDIR']
|
||||
temp = temp.mkdirSync("atom")
|
||||
target = path.join(temp, 'evil-files')
|
||||
|
||||
if fs.exists(target)
|
||||
@@ -278,7 +278,7 @@ describe "Project", ->
|
||||
fs.unlinkSync(path.join(target, f))
|
||||
fs.rmdirSync target
|
||||
|
||||
fs.mkdirSync target
|
||||
fs.mkdirSync(target)
|
||||
|
||||
inputs = []
|
||||
if (isWindows)
|
||||
|
||||
Reference in New Issue
Block a user