Skip to content

Commit

Permalink
chore: Update eslint to 8.x (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 6, 2024
1 parent a6e5605 commit e9f573f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"yauzl": "^2.10.0"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
"@ionic/eslint-config": "^0.4.0",
"@ionic/prettier-config": "^4.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
Expand All @@ -58,7 +58,7 @@
"@types/split2": "^4.2.2",
"@types/through2": "^2.0.40",
"@types/yauzl": "^2.10.2",
"eslint": "^7.8.1",
"eslint": "^8.57.0",
"jest": "^26.4.2",
"prettier": "^3.0.3",
"semantic-release": "^19.0.5",
Expand Down
2 changes: 1 addition & 1 deletion src/android/utils/sdk/xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function getPathFromPackageXml(packageXml: ElementTree): string {
export function getNameFromPackageXml(packageXml: ElementTree): string {
const name = packageXml.find('./localPackage/display-name');

if (!name || !name.text) {
if (!name?.text) {
throw new SDKException(`Invalid SDK package name.`, ERR_INVALID_SDK_PACKAGE);
}

Expand Down

0 comments on commit e9f573f

Please sign in to comment.