Skip to content

Commit

Permalink
Linting on file_fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Feb 7, 2020
1 parent c563c64 commit b933e8b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cli/file_fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,11 +529,9 @@ impl SourceFileFetcher {
map_content_type(&filepath, maybe_content_type.as_deref());

let types_url = match media_type {
msg::MediaType::JavaScript | msg::MediaType::JSX => get_types_url(
&module_url,
&source,
x_typescript_types.as_deref(),
),
msg::MediaType::JavaScript | msg::MediaType::JSX => {
get_types_url(&module_url, &source, x_typescript_types.as_deref())
}
_ => None,
};

Expand Down

0 comments on commit b933e8b

Please sign in to comment.