Skip to content

Commit 1a5cb44

Browse files
committed
bumps version to 1.7.2
1 parent b769831 commit 1a5cb44

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can add this plugin directly to your project:
1414

1515
Or add it as a dependency into your own plugin:
1616

17-
`<dependency id="cordova-plugin-add-swift-support" version="1.7.1"/>`
17+
`<dependency id="cordova-plugin-add-swift-support" version="1.7.2"/>`
1818

1919
By default, the Swift 3 support is added but the legacy version (2.3) can still be configured as a preference:
2020

add-swift-support.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12922,10 +12922,13 @@ var getPlatformVersionsFromFileSystem = function getPlatformVersionsFromFileSyst
1292212922
var platformsOnFs = cordovaUtil.listPlatforms(projectRoot);
1292312923
var platformVersions = platformsOnFs.map(function (platform) {
1292412924
var script = _path2.default.join(projectRoot, 'platforms', platform, 'cordova', 'version');
12925-
return Q.ninvoke(_child_process2.default, 'exec', script, {}).then(function (result) {
12925+
return Q.ninvoke(_child_process2.default, 'exec', '"' + script + '"', {}).then(function (result) {
1292612926
var version = result[0];
1292712927
var versionCleaned = version.replace(/\r?\n|\r/g, '');
1292812928
return { platform: platform, version: versionCleaned };
12929+
}, function (error) {
12930+
console.log(error);
12931+
process.exit(1);
1292912932
});
1293012933
});
1293112934

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-add-swift-support",
3-
"version": "1.7.1",
3+
"version": "1.7.2",
44
"description": "Add Swift support to your iOS plugins",
55
"homepage": "https://github.com/akofman/cordova-plugin-add-swift-support",
66
"author": {

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
id="cordova-plugin-add-swift-support"
4-
version="1.7.1" >
4+
version="1.7.2" >
55

66
<name>AddSwiftSupport</name>
77
<license>Apache 2.0</license>

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const getPlatformVersionsFromFileSystem = (context, projectRoot) => {
197197
const platformsOnFs = cordovaUtil.listPlatforms(projectRoot);
198198
const platformVersions = platformsOnFs.map((platform) => {
199199
const script = path.join(projectRoot, 'platforms', platform, 'cordova', 'version');
200-
return Q.ninvoke(childProcess, 'exec', '"' + script + '"', {}).then((result) => {
200+
return Q.ninvoke(childProcess, 'exec', `"${script}"`, {}).then((result) => {
201201
const version = result[0];
202202
const versionCleaned = version.replace(/\r?\n|\r/g, '');
203203
return {platform: platform, version: versionCleaned};

0 commit comments

Comments
 (0)