Skip to content

Commit

Permalink
fix: search for aegir.cjs (#879)
Browse files Browse the repository at this point in the history
In esm projects, sometimes `.aegir.js` is called `.aegir.cjs`
  • Loading branch information
achingbrain committed Aug 20, 2021
1 parent c1c3cc3 commit f7d9c27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ const config = (searchFrom) => {

searchPlaces: [
'package.json',
'.aegir.js'
'.aegir.js',
'.aegir.cjs'
]
})
const lilconfig = configExplorer.search(searchFrom)
Expand Down

0 comments on commit f7d9c27

Please sign in to comment.