File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = {
88
99 parserOptions : {
1010 sourceType : 'script' ,
11- ecmaVersion : 12 ,
11+ ecmaVersion : 12
1212 } ,
1313 extends : [
1414 'semistandard'
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class Sync {
6464 }
6565
6666 notify ( ) {
67- console . log ( 'notified' ) ;
67+ Object . values ( this . syncModules ) . forEach ( it => it . notify ( ) ) ;
6868 return Promise . resolve ( ) ;
6969 }
7070
Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ class SyncModule {
6464 this . loader = new Loader ( this . resolved ) ;
6565 return this . resolved ;
6666 }
67+
68+ notify ( ) {
69+ console . log ( `****** ${ this . Model . name } errors *****` ) ;
70+ this . errors . errors . forEach ( it => console . log ( it . message ) ) ;
71+ }
6772}
6873
6974module . exports = SyncModule ;
You can’t perform that action at this time.
0 commit comments