Skip to content

Commit

Permalink
Fix pngout binary link
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jun 1, 2017
1 parent 18a9e79 commit 1727ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medic-configurer-beta",
"version": "1.0.37",
"version": "1.0.38",
"description": "Configure Medic Mobile deployments",
"main": "index.js",
"scripts": {
Expand All @@ -9,7 +9,7 @@
"bin": {
"medic-conf": "bin/medic-conf.js",
"shell-completion-for-medic-conf": "bin/shell-completion.js",
"medic-pngout": "bin/pngout"
"pngout-medic": "bin/pngout"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/fn/compress-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = (project/*, couchUrl*/) => {
promiseChain
.then(() => info('Compressing PNG:', png, '…'))
.then(() =>
exec('pngout', `'${png}'`)
exec('pngout-medic', `'${png}'`)
.then(() => trace('Compressed', png))
.catch(e => {
if(e.status === 2) {
Expand Down

0 comments on commit 1727ef6

Please sign in to comment.