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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix markdown printing #59

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Fix markdown printing #59

merged 3 commits into from
Mar 11, 2024

Conversation

ggwpez
Copy link
Owner

@ggwpez ggwpez commented Mar 10, 2024

Closes #58

Changes:

  • Fix markdown formatting
  • Make --verbose global

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Copy link

@bkontur bkontur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe one nit suggestion, change this:

println!("Trying to parse {} files...", files.len());
let parsed = parse_files(&files)?;
println!("Parsed {} files successfully", parsed.len());

to this:

print(format!("Trying to parse {} files...", files.len()), cmd.verbose);
let parsed = parse_files(&files)?;
print(format!("Parsed {} files successfully", parsed.len()), cmd.verbose);
  • update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
@ggwpez ggwpez merged commit fbb383f into master Mar 11, 2024
9 of 10 checks passed
@ggwpez ggwpez deleted the oty-print-markdown branch March 11, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Every line is prefix with "3 empty chars" when --verbose is used
2 participants