File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 45
45
"yauzl" : " ^2.10.0"
46
46
},
47
47
"devDependencies" : {
48
- "@ionic/eslint-config" : " ^0.3 .0" ,
48
+ "@ionic/eslint-config" : " ^0.4 .0" ,
49
49
"@ionic/prettier-config" : " ^4.0.0" ,
50
50
"@semantic-release/changelog" : " ^6.0.3" ,
51
51
"@semantic-release/git" : " ^10.0.1" ,
58
58
"@types/split2" : " ^4.2.2" ,
59
59
"@types/through2" : " ^2.0.40" ,
60
60
"@types/yauzl" : " ^2.10.2" ,
61
- "eslint" : " ^7.8.1 " ,
61
+ "eslint" : " ^8.57.0 " ,
62
62
"jest" : " ^26.4.2" ,
63
63
"prettier" : " ^3.0.3" ,
64
64
"semantic-release" : " ^19.0.5" ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export function getPathFromPackageXml(packageXml: ElementTree): string {
36
36
export function getNameFromPackageXml ( packageXml : ElementTree ) : string {
37
37
const name = packageXml . find ( './localPackage/display-name' ) ;
38
38
39
- if ( ! name || ! name . text ) {
39
+ if ( ! name ? .text ) {
40
40
throw new SDKException ( `Invalid SDK package name.` , ERR_INVALID_SDK_PACKAGE ) ;
41
41
}
42
42
You can’t perform that action at this time.
0 commit comments