Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make --version output valid YAML for parsing #2856 #2858

Merged
merged 1 commit into from
Feb 8, 2022

Commits on Feb 8, 2022

  1. Make --version output valid YAML for parsing nexB#2856

    This commit adds a colon so the --version output goes from
    
    ScanCode version 30.1.0
    ScanCode Output Format version 2.0.0
    SPDX License list version 3.15
    
    to
    
    ScanCode version: 30.1.0
    ScanCode Output Format version: 2.0.0
    SPDX License list version: 3.15
    
    This will make the output easier to parse since it is valid YAML now.
    This also includes a test validating this behavior.
    
    Signed-off-by: Kevin Ji <kyji1011@gmail.com>
    KevinJi22 committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    b78b49f View commit details
    Browse the repository at this point in the history