Skip to content

Commit

Permalink
Update import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
RajVarsani committed Dec 23, 2023
1 parent c41c8e2 commit d933244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
run: |
echo "Running repoverse synchronization..."
node -e "
const Repoverse = require('repoverse');
const {Repoverse} = require('repoverse');
const config = JSON.parse(process.env.REPOVERSE_CONFIG);
const repoverse = new Repoverse(config);
const commits = JSON.parse(process.env.COMMITS);
Expand All @@ -134,7 +134,7 @@ Synchronize code on-demand or with more control:
- Use the synchronize method to trigger synchronization.
```javascript
const Repoverse = require('repoverse');
const { Repoverse } = require('repoverse');

// Construct a configuration object for your repositories and settings
const config = {
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import Repoverse from './Repoverse';
export default Repoverse;
export { default as Repoverse } from './Repoverse';
export { default } from './Repoverse';

0 comments on commit d933244

Please sign in to comment.