Skip to content

Commit

Permalink
Merge pull request #60 from joewoodhouse/patch-1
Browse files Browse the repository at this point in the history
Update before_plugin_install.js
  • Loading branch information
salmamali authored Nov 4, 2018
2 parents 0e6f713 + 87945a8 commit 2de2301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/android/before_plugin_install.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const writeIbgBuildGradle = (contents) => {
const getAndroidVersion = () => {
const target = path.join('config.xml');
let file = fs.readFileSync(target, 'utf-8');
const androidEngine = file.match(/engine name="android" spec="\^[1-9]+.[0-9]+.[0-9]+"/g);
const androidEngine = file.match(/engine name="android" spec="\^?[1-9]+.[0-9]+.[0-9]+"/g);
if (androidEngine) {
const version = androidEngine[0].match(/[1-9]+.[0-9]+.[0-9]+/g);
if (version) {
Expand Down

0 comments on commit 2de2301

Please sign in to comment.