Skip to content

Commit d598325

Browse files
chore: fix lint
1 parent c1907f1 commit d598325

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/Server.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,9 +1478,7 @@ class Server {
14781478
} else if (typeof options.static === "string") {
14791479
options.static = [getStaticItem(options.static)];
14801480
} else if (Array.isArray(options.static)) {
1481-
options.static = options.static.map((item) => {
1482-
return getStaticItem(item);
1483-
});
1481+
options.static = options.static.map((item) => getStaticItem(item));
14841482
} else {
14851483
options.static = [getStaticItem(options.static)];
14861484
}

0 commit comments

Comments
 (0)