ember-cli / ember-cli/ember-cli-deprecation-workflow

flushDeprecations output no longer formatted

Open
#103 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
166
Forks
44
PR merge metrics
No merged PRs in 30d

Description

The output of `flushDeprecations()` no longer formats in a way that can be copied and pasted into the config file. We now get the raw string, which indicates this is likely a behavior change in Chrome DevTools/console.

Example:

```
"self.deprecationWorkflow = self.deprecationWorkflow || {};\nself.deprecationWorkflow.config = {\n workflow: [\n { handler: \"silence\", matchId: \"this-property-fallback\" },\n { handler: \"silence\", matchId: \"manager-capabilities.modifiers-3-13\" }\n ]\n};"
```

![DevTools_-_localhost_4200_components_navigation-list_](https://user-images.githubusercontent.com/1325482/116924405-ad2e2680-ac0c-11eb-9cb9-4a077eb33dd7.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.