You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2026/06/26 04:45:18 UTC
(cordova-node-xcode) branch master updated: chore(addBuildPhase): remove unused variable buildPhaseSection (#175)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-node-xcode.git
The following commit(s) were added to refs/heads/master by this push:
new 780467c chore(addBuildPhase): remove unused variable buildPhaseSection (#175)
780467c is described below
commit 780467c6065c524abc06c0a94184fbf1d5a4861e
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Fri Jun 26 13:45:13 2026 +0900
chore(addBuildPhase): remove unused variable buildPhaseSection (#175)
---
lib/pbxProject.js | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lib/pbxProject.js b/lib/pbxProject.js
index 2cd6619..c7ac423 100644
--- a/lib/pbxProject.js
+++ b/lib/pbxProject.js
@@ -921,7 +921,6 @@ PBXProject.prototype.addTargetDependency = function (target, dependencyTargets)
* @returns {AddBuildPhaseResults} object containing the build phase & uuid
*/
PBXProject.prototype.addBuildPhase = function (filePathsArray, buildPhaseType, comment, target, optionsOrFolderType, subfolderPath) {
- let buildPhaseSection;
const fileReferenceSection = this.pbxFileReferenceSection();
const buildFileSection = this.pbxBuildFileSection();
const buildPhaseUuid = this.generateUuid();
@@ -1013,11 +1012,6 @@ PBXProject.prototype.addBuildPhase = function (filePathsArray, buildPhaseType, c
buildPhase.files.push(pbxBuildPhaseObj(file));
}
- if (buildPhaseSection) {
- buildPhaseSection[buildPhaseUuid] = buildPhase;
- buildPhaseSection[commentKey] = comment;
- }
-
return { uuid: buildPhaseUuid, buildPhase };
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org