Skip to content

Commit

Permalink
check without mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Apr 16, 2017
1 parent 9097468 commit 09983fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sessionstore.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function exists(toCheck) {
if (require('fs').accessSync) {
_exists = function (toCheck) {
try {
require('fs').accessSync(toCheck, require('fs').constants.R_OK);
require('fs').accessSync(toCheck);
return true;
} catch (e) {
return false;
Expand Down

0 comments on commit 09983fb

Please sign in to comment.