Skip to content

Commit

Permalink
os-checker config --list-repos
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Nov 22, 2024
1 parent f4624aa commit f712d6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
wget https://github.com/os-checker/database/releases/download/precompiled-checkers/os-checker -O ~/.cargo/bin/os-checker
chmod +x ~/.cargo/bin/os-checker
os-checker layout --help
os-checker config --list-repos
# - name: Test get_release_count
# run: cargo test -- test_get_release_count --nocapture
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ pub fn repos() -> Result<Vec<String>> {
None => duct::cmd!("os-checker", "config", "--list-repos").read()?,
};

info!(text);
Ok(serde_json::from_str(&text)?)
}

0 comments on commit f712d6b

Please sign in to comment.