Skip to content

Commit

Permalink
chore(deepword) putout
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Mar 6, 2019
1 parent 0aaa92c commit 18ab2a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/api/_init-socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function _initSocket(prefix = '', socketPath = '') {
});

const socket = io.connect(href, {
'max reconnection attempts' : Math.pow(2, 32),
'max reconnection attempts' : 2 ** 32,
'reconnection limit' : FIVE_SECONDS,
path : socketPath + '/socket.io'
});
Expand Down
4 changes: 2 additions & 2 deletions server/resolve-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ function check(name) {
throw Error('name should be string!');
}

function resolveModule() {
const dirs = arguments;
function resolveModule(...args) {
const dirs = args;
/* stat: not global becouse of tests */
const stat = promisify(fs.stat);
const dir = path.resolve.apply(null, dirs);
Expand Down

0 comments on commit 18ab2a2

Please sign in to comment.