Skip to content

Commit

Permalink
fix: update prettier/pretty-quick
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Lee Scott <pat@patscott.io>
  • Loading branch information
patrickleet committed Apr 19, 2021
1 parent bd237fa commit 3951dea
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 142 deletions.
2 changes: 1 addition & 1 deletion bin/meta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

process.on('uncaughtException', err => {
process.on('uncaughtException', (err) => {
console.error(err);
process.exit(1);
});
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const registerPlugin = require('./lib/registerPlugin');

// Plugins depended on by the `meta` package.
const corePlugins = new Map();
Object.keys(meta.dependencies).forEach(name => {
Object.keys(meta.dependencies).forEach((name) => {
if (/^meta-/.test(name)) {
const packagePath = require.resolve(path.join(name, 'package.json'));
corePlugins.set(name, path.dirname(packagePath));
Expand All @@ -29,7 +29,7 @@ exports.run = (cwd, argv) => {
const userPlugins = findPlugins(cwd);
if (userPlugins.size) {
debug(`\nLoading plugins:`);
userPlugins.forEach(pluginPath => registerPlugin(program, pluginPath));
userPlugins.forEach((pluginPath) => registerPlugin(program, pluginPath));
}

// Load core plugins after, so users can override them.
Expand Down
Loading

0 comments on commit 3951dea

Please # to comment.