chore(cli): remove dead code (#7941)

This commit is contained in:
Kitson Kelly 2020-10-12 22:25:25 +11:00 committed by GitHub
parent e877b36072
commit 26639b3bac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 20 additions and 234 deletions

View file

@ -244,12 +244,6 @@ pub struct ModuleGraphFile {
pub source_code: String,
}
impl ModuleGraphFile {
pub fn size(&self) -> usize {
self.source_code.as_bytes().len()
}
}
type SourceFileFuture = Pin<
Box<dyn Future<Output = Result<(ModuleSpecifier, SourceFile), AnyError>>>,
>;