Skip to content

Commit

Permalink
I really need to stop coding when I'm tired
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyba committed Jun 28, 2016
1 parent 4afcd2c commit 1976737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/node/selenium-webdriver/io/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ exports.exists = function(aPath) {
let type = typeof aPath;
if (type !== 'string') {
reject(TypeError(`expected string path, but got ${type}`));
} else {
fs.exists(aPath, fulfill);
}
fs.exists(aPath, fulfill);
});
};

Expand Down

0 comments on commit 1976737

Please sign in to comment.