fs.existsSync() is depreciated in io.js

This commit is contained in:
RnbWd 2015-05-06 17:50:49 -07:00
parent a6ac7c98ec
commit 3c8af7564b

View file

@ -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()
})
})