Browse Source

fix(cli.rs/build): fix typo getting bundle arg (#1783)

Noah Klayman 4 years ago
parent
commit
71f6a5ed44
2 changed files with 6 additions and 1 deletions
  1. 5 0
      .changes/fix-cli.rs-bundle-arg.md
  2. 1 1
      tooling/cli.rs/src/main.rs

+ 5 - 0
.changes/fix-cli.rs-bundle-arg.md

@@ -0,0 +1,5 @@
+---
+"cli.rs": minor
+---
+
+Fix a typo that would result in bundle arg being ignored.

+ 1 - 1
tooling/cli.rs/src/main.rs

@@ -119,7 +119,7 @@ fn build_command(matches: &ArgMatches) -> Result<()> {
   let target = matches.value_of("target");
   let debug = matches.is_present("debug");
   let verbose = matches.is_present("verbose");
-  let bundles = matches.values_of_lossy("bundles");
+  let bundles = matches.values_of_lossy("bundle");
   let config = matches.value_of("config");
 
   let mut build_runner = build::Build::new();