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)
1717import migrationsServiceFactory from ' @js-migrations/core/dist/factory' ;
1818
1919const migrationsServiceFacade = migrationsServiceFactory ({
20- log: console .log .bind (console ),
2120 repo: migrationsRepoFacade ,
2221});
2322```
Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ import Status from './statuses/Status';
77import UnlockedCompletionStatus from './statuses/UnlockedCompletionStatus' ;
88import UnlockedErrorStatus from './statuses/UnlockedErrorStatus' ;
99
10- export default ( status : Status ) => {
11- const log = ( _message : string ) => {
12- return ;
13- } ;
10+ export default ( status : Status , log = ( _message : string ) => { return ; } ) => {
1411 if ( status instanceof LockedStatus ) {
1512 log ( 'Locked migrations' ) ;
1613 } else if ( status instanceof MigrationEndStatus ) {
You can’t perform that action at this time.
0 commit comments