File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3232 "linter" : {
3333 "enabled" : true ,
3434 "rules" : {
35- "recommended" : true
35+ "recommended" : true ,
36+ "suspicious" : {
37+ "noExplicitAny" : " off"
38+ }
3639 }
3740 }
3841}
Original file line number Diff line number Diff line change @@ -54,12 +54,16 @@ export default (api: IApi) => {
5454 cwd : api . cwd ,
5555 dep : 'assets-retry' ,
5656 } ) || dirname ( require . resolve ( 'assets-retry/package.json' ) ) ;
57- } catch ( e ) { }
57+ } catch ( _ ) {
58+ throw new Error (
59+ `Can't find assets-retry package. Please install assets-retry first.` ,
60+ ) ;
61+ }
5862
5963 function checkPkgPath ( ) {
6064 if ( ! pkgPath ) {
6165 throw new Error (
62- `Can't find assets-retry package. Please install antd first.` ,
66+ `Can't find assets-retry package. Please install assets-retry first.` ,
6367 ) ;
6468 }
6569 }
You can’t perform that action at this time.
0 commit comments