@4s1/conventional-commit-creator 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.10.2](https://gitlab.com/4s1/conventional-commit-creator/compare/v0.9.0...v0.10.2) (2021-12-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add check if current dir is a git repository ([#4](https://gitlab.com/4s1/conventional-commit-creator/issues/4)) ([75d34be](https://gitlab.com/4s1/conventional-commit-creator/commit/75d34be610e1ef6500d970f8c32464da0bf2d6a3))
|
|
11
|
+
* add missing await statement and rename function ([04892a0](https://gitlab.com/4s1/conventional-commit-creator/commit/04892a0e1a9566c0b53895036792001a8e42b00f))
|
|
12
|
+
* **git:** repair check if current dir is under git ([419d422](https://gitlab.com/4s1/conventional-commit-creator/commit/419d42222a648ea9437a42589a9a9ad404a144ba))
|
|
13
|
+
|
|
5
14
|
## [0.10.1](https://gitlab.com/4s1/conventional-commit-creator/compare/v0.10.0...v0.10.1) (2021-12-18)
|
|
6
15
|
|
|
7
16
|
|
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ async function commit(msg) {
|
|
|
112
112
|
async function isCurrentDirUnderGitControl() {
|
|
113
113
|
try {
|
|
114
114
|
const result = await execute('git rev-parse --is-inside-work-tree');
|
|
115
|
-
return result === 'true';
|
|
115
|
+
return result.trim() === 'true';
|
|
116
116
|
}
|
|
117
117
|
catch (err) {
|
|
118
118
|
return false;
|