File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ This package contains the [RepoFacade TypeScript interface](./src/RepoFacade.ts)
17
17
import migrationsServiceFactory from ' @js-migrations/core/dist/factory' ;
18
18
19
19
const migrationsServiceFacade = migrationsServiceFactory ({
20
- log: console .log .bind (console ),
21
20
repo: migrationsRepoFacade ,
22
21
});
23
22
```
Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ import Status from './statuses/Status';
7
7
import UnlockedCompletionStatus from './statuses/UnlockedCompletionStatus' ;
8
8
import UnlockedErrorStatus from './statuses/UnlockedErrorStatus' ;
9
9
10
- export default ( status : Status ) => {
11
- const log = ( _message : string ) => {
12
- return ;
13
- } ;
10
+ export default ( status : Status , log = ( _message : string ) => { return ; } ) => {
14
11
if ( status instanceof LockedStatus ) {
15
12
log ( 'Locked migrations' ) ;
16
13
} else if ( status instanceof MigrationEndStatus ) {
You can’t perform that action at this time.
0 commit comments