Adam George created CB-5882: ------------------------------- Summary: Format android.json and ios.json (plugins directory) - currently they have no line breaks / indentation Key: CB-5882 URL: https://issues.apache.org/jira/browse/CB-5882 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.3.0 Reporter: Adam George Priority: Minor
When adding new plugins, or modifying a plugin (such that the plugin may have new permissions, or new files to copy), the ios.json and android.json plugin files are modified/updated. The problem with that the json contents is not formatted, and appears as one long line of text. I run `git diff` and I can't see what changed. It's quite annoying. I'm currently putting these files into version control. Maybe in the future when the CLI is more mature, I can treat them like build artefacts and git-ignore them, but for now I need to keep them, so they really need to be more readable. Is it possible to format the json data before writing the file? -- This message was sent by Atlassian JIRA (v6.1.5#6160)