message: Simplify get_dependencies
diff: @@ -368,21 +368,19 @@ impl Init {
  /// Returns the dependencies based on the `--template` flag
  fn get_dependencies(&self) -> Option<HashMap<String, String>> {
  - Some({
  + let mut map = HashMap::new();
  +
  match self.template.as_deref() {
  Some("js") => {
  - let mut map = HashMap::default();
  map.insert("python".to_string(), "quickjs/quickjs@latest".to_string());
  - map
  }
  Some("python") => {
  - let mut map = HashMap::default();
  map.insert("python".to_string(), "python/python@latest".to_string());
  - map
  }
  - _ => HashMap::default(),
  + _ => {},
  }
  - })
  +
  + Some(map)
  }
  // Returns whether the template for the wapm.toml should be a binary, a library or an empty file
  