Skip to content

Commit

Permalink
Move space (quickfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Dec 27, 2022
1 parent c21e6b6 commit cfae247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugin/GitBase.js
Expand Up @@ -93,8 +93,8 @@ class GitBase extends Plugin {
getLatestTagName() {
const context = Object.assign({}, this.config.getContext(), { version: '*' });
const match = format(this.options.tagMatch || this.options.tagName || '${version}', context);
const exclude = this.options.tagExclude ? `--exclude=${format(this.options.tagExclude, context)}` : '';
return this.exec(`git describe --tags --match=${match} --abbrev=0 ${exclude}`, { options }).then(
const exclude = this.options.tagExclude ? ` --exclude=${format(this.options.tagExclude, context)}` : '';
return this.exec(`git describe --tags --match=${match} --abbrev=0${exclude}`, { options }).then(
stdout => stdout || null,
() => null
);
Expand Down

0 comments on commit cfae247

Please sign in to comment.