summaryrefslogtreecommitdiff
path: root/cli/msg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/msg.rs')
-rw-r--r--cli/msg.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/msg.rs b/cli/msg.rs
index 7599d874b..dbfb3316f 100644
--- a/cli/msg.rs
+++ b/cli/msg.rs
@@ -74,7 +74,8 @@ pub enum MediaType {
TypeScript = 2,
TSX = 3,
Json = 4,
- Unknown = 5,
+ Wasm = 5,
+ Unknown = 6,
}
pub fn enum_name_media_type(mt: MediaType) -> &'static str {
@@ -84,6 +85,7 @@ pub fn enum_name_media_type(mt: MediaType) -> &'static str {
MediaType::TypeScript => "TypeScript",
MediaType::TSX => "TSX",
MediaType::Json => "Json",
+ MediaType::Wasm => "Wasm",
MediaType::Unknown => "Unknown",
}
}