From adb9fc359be8cbb764214596f556477e9093ea90 Mon Sep 17 00:00:00 2001 From: notandrewkaye Date: Mon, 16 Oct 2017 11:56:37 -0700 Subject: [PATCH 1/2] fix NSArray error --- package.json | 2 +- src/common.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 372237d..22ee04a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "git-sketch-plugin", - "version": "0.11.2", + "version": "0.11.3", "description": "Plugin to handle versioning in git", "main": "Git.sketchplugin", "manifest": "src/manifest.json", diff --git a/src/common.js b/src/common.js index f09ea20..1b7aefa 100644 --- a/src/common.js +++ b/src/common.js @@ -24,7 +24,7 @@ export function exec (context, command) { command = `cd "${path}" && ${command}` task.setLaunchPath_('/bin/bash') - task.setArguments_(NSArray.arrayWithObjects_('-c', '-l', command, null)) + task.setArguments_(NSArray.arrayWithArray_(['-c', '-l', command])) task.standardOutput = pipe task.standardError = errPipe task.launch() From 341a42cdaef1aa60bf446b1e657b5c738869bf49 Mon Sep 17 00:00:00 2001 From: notandrewkaye Date: Mon, 16 Oct 2017 12:02:03 -0700 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c96a59a..f468c3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.11.3] - 2017-10-16 + +* Fix NSArray error which blocked committing and generating files for diffs. + + ## [0.11.2] - 2017-05-25 * URL-encode artboard image paths in the overview markdown (Thanks @mattjbray)