Skip to content

Commit a0b1e2f

Browse files
committed
Bumped version to 1.2.2
1 parent 07ece41 commit a0b1e2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Changelog {
4040
lines.push(`${c.hash} ${c.message}`);
4141
});
4242
const changelogDir = path.parse(this.settings.changelogFilePath).dir;
43-
if (!fs.existsSync(changelogDir)) {
43+
if (changelogDir && !fs.existsSync(changelogDir)) {
4444
fs.mkdirSync(changelogDir);
4545
}
4646
fs.writeFileSync(this.settings.changelogFilePath, lines.join('\n'));

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-changelog",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"private": true,
55
"description": "Action to generate a changelog from a Git repository commit history.",
66
"main": "lib/main.js",

0 commit comments

Comments
 (0)