Skip to content

Commit

Permalink
Merge pull request #157 from notandrewkaye/master
Browse files Browse the repository at this point in the history
Fix NSArray Error
  • Loading branch information
mathieudutour authored Oct 17, 2017
2 parents d5294db + 341a42c commit 6f1b643
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6f1b643

Please sign in to comment.