We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
components
1 parent 6956b77 commit aa8970aCopy full SHA for aa8970a
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "get-git-version",
3
- "version": "0.3.1",
+ "version": "0.4.0",
4
"author": "Polys Georgiou",
5
"license": "MIT",
6
"homepage": "https://github.com/polys/git-version",
version.js
@@ -115,7 +115,7 @@ Promise.all(config.map(async item => (
115
if (!versionOnly) {
116
version = Object.assign(version, {
117
git: app.git,
118
- components
+ components: components.length ? components : undefined
119
});
120
}
121
0 commit comments