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) 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()