Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
trivial commit so i can PR
Browse files Browse the repository at this point in the history
literally does nothing except break things :blushing:
  • Loading branch information
caass committed Sep 23, 2020
1 parent e32fc6c commit efd3a44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/settings/toml/target_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub enum TargetType {
JavaScript,
Rust,
Webpack,
Bundler,
}

impl Default for TargetType {
Expand All @@ -23,6 +24,7 @@ impl fmt::Display for TargetType {
TargetType::JavaScript => "js",
TargetType::Rust => "rust",
TargetType::Webpack => "webpack",
TargetType::Bundler => "bundler",
};
write!(f, "{}", printable)
}
Expand All @@ -36,6 +38,7 @@ impl FromStr for TargetType {
"javascript" => Ok(TargetType::JavaScript),
"rust" => Ok(TargetType::Rust),
"webpack" => Ok(TargetType::Webpack),
"bundler" => Ok(TargetType::Bundler),
_ => failure::bail!("{} is not a valid wrangler build type!", s),
}
}
Expand Down

0 comments on commit efd3a44

Please sign in to comment.