This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a commit to branch jcesarmobile-patch-1
in repository https://gitbox.apache.org/repos/asf/cordova-coho.git

commit a05bf773064657f9ae2d4aea83c3983620770d4f
Author: jcesarmobile <jcesarmob...@gmail.com>
AuthorDate: Thu Jul 20 12:42:03 2023 +0200

    fix: Update CDVAvailability.h path
---
 src/platform-release.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform-release.js b/src/platform-release.js
index 2786551..8ad7541 100644
--- a/src/platform-release.js
+++ b/src/platform-release.js
@@ -106,7 +106,7 @@ let hasBuiltJs = '';
 // Adds the version to CDVAvailability.h for iOS
 function * updateCDVAvailabilityFile (version, platform) {
     // Default to iOS
-    const file = path.join(process.cwd(), 'CordovaLib', 'Classes', 'Public', 
'CDVAvailability.h');
+    const file = path.join(process.cwd(), 'CordovaLib', 'include', 'Cordova', 
'CDVAvailability.h');
 
     let fileContents = fs.readFileSync(file, 'utf8');
     fileContents = fileContents.split('\n');


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to