Skip to content

Commit

Permalink
Trim spaces in display name for ab scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgi Alexandrov committed Aug 4, 2015
1 parent 704ce46 commit 4f056eb
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 4f056eb

Please sign in to comment.