Skip to content

Commit

Permalink
fix: register provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed May 9, 2024
1 parent 6f3965b commit 34d61d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ export async function configure(command: ConfigureCommand) {
const codemods = await command.createCodemods()

await codemods.makeUsingStub(stubsRoot, 'config.stub', {})

// add provider and directory to rc file
await codemods.updateRcFile((transformer) => {
transformer.addProvider('@stouder-io/adonis-geolite2/geolite2_provider')
})
}

0 comments on commit 34d61d1

Please sign in to comment.