Skip to content

Commit

Permalink
fix(git): add quotes to passed args
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Aug 26, 2018
1 parent c37e25e commit 9ed53c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sh/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('../path')
const cp = require('child_process')

module.exports = {
addTag (tag, message) { return cp.execSync(`sh ${path.ADD_TAG_SH} ${tag} ${message}`).toString() },
addTag (tag, message) { return cp.execSync(`sh ${path.ADD_TAG_SH} "${tag}" "${message}"`).toString() },
getLastTag () { return cp.execSync(`sh ${path.GET_LAST_TAG_SH}`).toString() },
getLastTagMessage () { return cp.execSync(`sh ${path.LAST_TAG_MESSAGE_SH}`).toString() },
dropLastTag () { return cp.execSync(`sh ${path.DROP_TAG_SH}`).toString() },
Expand Down

0 comments on commit 9ed53c9

Please sign in to comment.