Skip to content

Commit 7f7a2a4

Browse files
committed
fix: correct variable name typo in writeCordovaAndroidManifest function
1 parent 52c0d43 commit 7f7a2a4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.typos.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ extend-exclude = [
2323
"*.min.js",
2424
# Exclude node_modules
2525
"node_modules/",
26+
# Exclude Xcode project files that contain hex identifiers - these files have
27+
# automatically generated hex IDs that look like typos but must not be changed
28+
"ios/Capacitor/Capacitor.xcodeproj/project.pbxproj",
29+
"ios/Capacitor/Capacitor.xcodeproj/xcshareddata/xcschemes/*.xcscheme",
30+
"ios-pods-template/**/*.storyboard",
31+
"ios-spm-template/**/*.storyboard",
32+
"ios/Capacitor/TestsHostApp/**/*.storyboard",
2633
]
2734

2835
[default.extend-words]

cli/src/cordova.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ export async function writeCordovaAndroidManifest(
731731
return false;
732732
} else {
733733
if (requiredElement.attrs !== undefined) {
734-
const requiredELementAttrKeys = Object.keys(requiredElement.attrs);
735-
for (const key of requiredELementAttrKeys) {
734+
const requiredElementAttrKeys = Object.keys(requiredElement.attrs);
735+
for (const key of requiredElementAttrKeys) {
736736
if (!/^[$].{1,}$/.test((requiredElement.attrs[key] as string).trim())) {
737737
if (requiredElement.attrs[key] !== existingElement.attrs[key]) {
738738
return false;

0 commit comments

Comments
 (0)