Skip to content

Commit

Permalink
WPT: Skip first CLI arg
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Nov 6, 2024
1 parent 0df6434 commit e82361c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wpt/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ enum TestResult {
fn collect_tests(wpt_dir: &Path) -> Vec<PathBuf> {
let mut test_paths = Vec::new();

let mut suites: Vec<_> = std::env::args().collect();
let mut suites: Vec<_> = std::env::args().skip(1).collect();
if suites.is_empty() {
suites.push("css/css-flexbox".to_string());
suites.push("css/css-grid".to_string());
Expand Down

0 comments on commit e82361c

Please sign in to comment.