From 3c8af7564b5b792c63f822f8a40408d012ac86ac Mon Sep 17 00:00:00 2001 From: RnbWd Date: Wed, 6 May 2015 17:50:49 -0700 Subject: [PATCH] fs.existsSync() is depreciated in io.js --- npm/test/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npm/test/index.js b/npm/test/index.js index 446a5445d7b6..02dac6340c7b 100644 --- a/npm/test/index.js +++ b/npm/test/index.js @@ -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() -}) \ No newline at end of file +})