Skip to content

Commit

Permalink
[TIMOB-25674] Fix regex to allow folders beginning with a platform na…
Browse files Browse the repository at this point in the history
…me (#9735)
  • Loading branch information
ewanharris authored and ewieberappc committed Jan 18, 2018
1 parent 3918294 commit d2b109f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const appc = require('node-appc'),
parallel = appc.async.parallel,
series = appc.async.series,
version = appc.version;
const platformsRegExp = new RegExp('^(' + ti.allPlatformNames.join('|') + '$)'); // eslint-disable-line security/detect-non-literal-regexp
const platformsRegExp = new RegExp('^(' + ti.allPlatformNames.join('|') + ')$'); // eslint-disable-line security/detect-non-literal-regexp
const pemCertRegExp = /(^-----BEGIN CERTIFICATE-----)|(-----END CERTIFICATE-----.*$)|\n/g;

function iOSBuilder() {
Expand Down

0 comments on commit d2b109f

Please sign in to comment.