Skip to content

Commit

Permalink
chore: Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored and actions-user committed Mar 15, 2022
1 parent 804e753 commit 466e17b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Expand Up @@ -222,9 +222,7 @@ In this example Liftoff will look for the `.hacker.js` file relative to the `cwd
const MyApp = new Liftoff({
name: 'hacker',
configFiles: {
'.hacker': [
{ path: '.' },
],
'.hacker': [{ path: '.' }],
},
});
```
Expand Down Expand Up @@ -331,15 +329,13 @@ const Liftoff = require('liftoff');
const Hacker = new Liftoff({
name: 'hacker',
configFiles: {
'.hacker': [
{ path: '.', cwd: '~' },
],
'.hacker': [{ path: '.', cwd: '~' }],
},
});
const onExecute = function (env, argv) {
// Do post-execute things
};
const onPrepare = function(env) {
const onPrepare = function (env) {
const config = env.config['.hacker'];
if (config.hackerfile) {
env.configPath = path.resolve(config.hackerfile);
Expand Down

0 comments on commit 466e17b

Please sign in to comment.