Skip to content

Commit 6f1b643

Browse files
Merge pull request #157 from notandrewkaye/master
Fix NSArray Error
2 parents d5294db + 341a42c commit 6f1b643

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.11.3] - 2017-10-16
2+
3+
* Fix NSArray error which blocked committing and generating files for diffs.
4+
5+
16
## [0.11.2] - 2017-05-25
27

38
* URL-encode artboard image paths in the overview markdown (Thanks @mattjbray)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-sketch-plugin",
3-
"version": "0.11.2",
3+
"version": "0.11.3",
44
"description": "Plugin to handle versioning in git",
55
"main": "Git.sketchplugin",
66
"manifest": "src/manifest.json",

src/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function exec (context, command) {
2424
command = `cd "${path}" && ${command}`
2525

2626
task.setLaunchPath_('/bin/bash')
27-
task.setArguments_(NSArray.arrayWithObjects_('-c', '-l', command, null))
27+
task.setArguments_(NSArray.arrayWithArray_(['-c', '-l', command]))
2828
task.standardOutput = pipe
2929
task.standardError = errPipe
3030
task.launch()

0 commit comments

Comments
 (0)