Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jan 11, 2022
1 parent c1907f1 commit d598325
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Server.js
Expand Up @@ -1478,9 +1478,7 @@ class Server {
} else if (typeof options.static === "string") {
options.static = [getStaticItem(options.static)];
} else if (Array.isArray(options.static)) {
options.static = options.static.map((item) => {
return getStaticItem(item);
});
options.static = options.static.map((item) => getStaticItem(item));
} else {
options.static = [getStaticItem(options.static)];
}
Expand Down

0 comments on commit d598325

Please sign in to comment.