File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
src/mscp/generate/guidance_support Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -482,13 +482,12 @@ def generate_documents(
482482 spinner .spinner = Spinners .dots
483483 spinner .text = "Checking for asciidoctor components"
484484 time .sleep (1 )
485- asciidoctor_path , _ = run_command ("bundle show asciidoctor" )
486- asciidoctor_pdf_path , _ = run_command ("bundle show asciidoctor-pdf" )
485+ asciidoctor_path , asciidoctor_err = run_command ("bundle show asciidoctor" )
486+ asciidoctor_pdf_path , asciidoctor_pdf_err = run_command (
487+ "bundle show asciidoctor-pdf"
488+ )
487489
488- if (
489- "Could not find gem" in asciidoctor_path
490- or "Could not find gem" in asciidoctor_pdf_path
491- ):
490+ if asciidoctor_err or asciidoctor_pdf_err :
492491 spinner .text = "Installing missing asciidoctor components"
493492 time .sleep (1 )
494493 output , error = run_command (
You can’t perform that action at this time.
0 commit comments