fs.existsSync() is depreciated in io.js
This commit is contained in:
parent
a6ac7c98ec
commit
3c8af7564b
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
var tape = require('tape')
|
var tape = require('tape')
|
||||||
var electron = require('../')
|
var electron = require('../')
|
||||||
var fs = require('fs')
|
var pathExists = require('path-exists')
|
||||||
|
|
||||||
tape('has binary', function(t) {
|
tape('has binary', function(t) {
|
||||||
t.ok(fs.existsSync(electron), 'electron was downloaded')
|
t.ok(pathExists.sync(electron), 'electron was downloaded')
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
Loading…
Reference in a new issue