Skip to content

Commit 396d5b6

Browse files
committed
lint-fix
1 parent 95a59da commit 396d5b6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/bestzip.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,12 @@ const nativeZip = (options) =>
7171
const args = ["--quiet", "--recurse-paths", options.destination].concat(
7272
sources
7373
);
74-
if (typeof options.level == "number" && !isNaN(options.level) && options.level >= 0 && options.level <= 9) {
74+
if (
75+
typeof options.level == "number" &&
76+
!isNaN(options.level) &&
77+
options.level >= 0 &&
78+
options.level <= 9
79+
) {
7580
args.splice(0, 0, "-" + options.level.toString());
7681
}
7782

0 commit comments

Comments
 (0)