Skip to content

Commit

Permalink
fix(cli): ModuleGraph2 properly handles redirects (denoland#7981)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Oct 15, 2020
1 parent bd0c64b commit bbe4474
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 101 deletions.
3 changes: 0 additions & 3 deletions cli/file_fetcher.rs
Expand Up @@ -32,9 +32,6 @@ use std::sync::Arc;
use std::sync::Mutex;

/// Structure representing local or remote file.
///
/// In case of remote file `url` might be different than originally requested URL, if so
/// `redirect_source_url` will contain original URL and `url` will be equal to final location.
#[derive(Debug, Clone)]
pub struct SourceFile {
pub url: Url,
Expand Down

0 comments on commit bbe4474

Please sign in to comment.