mirror of
https://github.com/electron/electron.git
synced 2026-01-31 10:18:13 -05:00
fs.existsSync() is depreciated in io.js
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
var tape = require('tape')
|
||||
var electron = require('../')
|
||||
var fs = require('fs')
|
||||
var pathExists = require('path-exists')
|
||||
|
||||
tape('has binary', function(t) {
|
||||
t.ok(fs.existsSync(electron), 'electron was downloaded')
|
||||
t.ok(pathExists.sync(electron), 'electron was downloaded')
|
||||
t.end()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user