We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07ece41 commit a0b1e2fCopy full SHA for a0b1e2f
dist/index.js
@@ -40,7 +40,7 @@ class Changelog {
40
lines.push(`${c.hash} ${c.message}`);
41
});
42
const changelogDir = path.parse(this.settings.changelogFilePath).dir;
43
- if (!fs.existsSync(changelogDir)) {
+ if (changelogDir && !fs.existsSync(changelogDir)) {
44
fs.mkdirSync(changelogDir);
45
}
46
fs.writeFileSync(this.settings.changelogFilePath, lines.join('\n'));
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "create-changelog",
3
- "version": "1.2.1",
+ "version": "1.2.2",
4
"private": true,
5
"description": "Action to generate a changelog from a Git repository commit history.",
6
"main": "lib/main.js",
0 commit comments