Skip to content

Commit

Permalink
Merge pull request #7 from galexandrov/appbuilder
Browse files Browse the repository at this point in the history
Trim spaces in display name for ab scripts
  • Loading branch information
EddyVerbruggen committed Aug 4, 2015
2 parents 704ce46 + 4f056eb commit 2b3ead4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/hooks/ab/add-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function (context) {
cordovaProjectName = xcodeProjectPath.slice(0, -'.xcodeproj'.length),
projectPlistPath = path.join(projectRoot, cordovaProjectName, util.format('%s-Info.plist', cordovaProjectName)),
projectPlistJson = plist.parse(fs.readFileSync(projectPlistPath, 'utf8')),
displayName = projectPlistJson['CFBundleDisplayName'],
displayName = projectPlistJson['CFBundleDisplayName'].replace(" ", "_"),
projectFile = context.opts.cordova.project.parseProjectFile(projectRoot),
pbxProject = projectFile.xcode,
projectRelativePluginDirPath = path.join(cordovaProjectName, 'Plugins', context.opts.plugin.id),
Expand Down

0 comments on commit 2b3ead4

Please sign in to comment.