all-contributors-cli
Advanced tools
Comparing version 6.25.1 to 6.26.0
@@ -7,2 +7,4 @@ "use strict"; | ||
var jf = require('json-fixer'); | ||
var _require = require('./formatting'), | ||
formatConfig = _require.formatConfig; | ||
function readConfig(configPath) { | ||
@@ -21,3 +23,3 @@ try { | ||
//Updates the file with fixes | ||
fs.writeFileSync(configPath, JSON.stringify(config, null, 2)); | ||
fs.writeFileSync(configPath, formatConfig(config)); | ||
} | ||
@@ -45,3 +47,3 @@ return config; | ||
} | ||
return pify(fs.writeFile)(configPath, `${JSON.stringify(content, null, 2)}\n`); | ||
return pify(fs.writeFile)(configPath, `${formatConfig(content)}\n`); | ||
} | ||
@@ -48,0 +50,0 @@ function writeContributors(configPath, contributors) { |
{ | ||
"name": "all-contributors-cli", | ||
"version": "6.25.1", | ||
"version": "6.26.0", | ||
"description": "Tool to easily add recognition for new contributors", | ||
@@ -64,2 +64,5 @@ "bin": { | ||
}, | ||
"optionalDependencies": { | ||
"prettier": "^2" | ||
}, | ||
"eslintIgnore": [ | ||
@@ -66,0 +69,0 @@ "node_modules", |
@@ -172,2 +172,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
<td align="center" valign="top" width="16.66%"><a href="https://rea9lizer.carrd.co"><img src="https://avatars.githubusercontent.com/u/68494132?v=4?s=100" width="100px;" alt="QriLa | Hyeon Gu"/><br /><sub><b>QriLa | Hyeon Gu</b></sub></a><br /><a href="https://github.com/all-contributors/cli/commits?author=qyurila" title="Code">💻</a></td> | ||
<td align="center" valign="top" width="16.66%"><a href="http://www.dwmkerr.com"><img src="https://avatars.githubusercontent.com/u/1926984?v=4?s=100" width="100px;" alt="Dave Kerr"/><br /><sub><b>Dave Kerr</b></sub></a><br /><a href="https://github.com/all-contributors/cli/issues?q=author%3Adwmkerr" title="Bug reports">🐛</a> <a href="https://github.com/all-contributors/cli/commits?author=dwmkerr" title="Tests">⚠️</a> <a href="https://github.com/all-contributors/cli/commits?author=dwmkerr" title="Code">💻</a></td> | ||
</tr> | ||
@@ -174,0 +175,0 @@ </tbody> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81413
28
1323
198
11