Skip to content

Commit 4ad6e4f

Browse files
committed
fix(boot): fix incorrect comment
1 parent 89d03b1 commit 4ad6e4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/boot/src/booters/datasource.booter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export class DataSourceBooter extends BaseArtifactBooter {
4747
await super.load();
4848

4949
/**
50-
* If Repository Classes were discovered, we need to make sure RepositoryMixin
51-
* was used (so we have `app.repository()`) to perform the binding of a
52-
* Repository Class.
50+
* If DataSource Classes were discovered, we need to make sure RepositoryMixin
51+
* was used (so we have `app.dataSource()`) to perform the binding of a
52+
* DataSource Class.
5353
*/
5454
if (this.classes.length > 0) {
5555
if (!this.app.dataSource) {

0 commit comments

Comments
 (0)