Skip to content

Commit c905f5a

Browse files
committed
NC | should retry add parentheses
Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
1 parent b85e291 commit c905f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/native_fs_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function should_retry_link_unlink(is_gpfs, err) {
271271
const should_retry_general = ['ENOENT', 'EEXIST'].includes(err.code);
272272
const should_retry_gpfs = [gpfs_link_unlink_retry_err, gpfs_unlink_retry_catch].includes(err.code);
273273
const should_retry_posix = [posix_link_retry_err, posix_unlink_retry_err].includes(err.message);
274-
return should_retry_general || is_gpfs ? should_retry_gpfs : should_retry_posix;
274+
return should_retry_general || (is_gpfs ? should_retry_gpfs : should_retry_posix);
275275
}
276276

277277
////////////////////////

0 commit comments

Comments
 (0)