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

add debug_print_doc command #485

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

flyerhzm
Copy link
Contributor

@flyerhzm flyerhzm commented Mar 7, 2020

the debug_print_doc command returns the debug print doc, like

[
  group([
    group(["Config", "::", "Download", indent([softline, ".", "new"])]),
    group([
      "(",
      indent([
        softline,
        "'",
        "rubocop-config-prettier",
        "'",
        ",",
        line,
        group([group(["filename:", indent([line, "'", "rubocop.yml", "'"])])])
      ]),
      softline,
      ")"
    ]),
    indent([softline, ".", "perform"])
  ]),
  hardline,
  breakParent
];

it helps to check internal behaviors.

@kddnewton
Copy link
Member

Merging this, I'm going to rename this just to doc though to be consistent.

@kddnewton kddnewton merged commit a266689 into prettier:master Mar 10, 2020
@flyerhzm flyerhzm deleted the add-debug-print-doc-command branch March 15, 2020 04:08
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.

2 participants