summaryrefslogtreecommitdiff
path: root/bin/changelog
diff options
context:
space:
mode:
Diffstat (limited to 'bin/changelog')
-rwxr-xr-xbin/changelog7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/changelog b/bin/changelog
index efe25032ba1..9b60f53ce40 100755
--- a/bin/changelog
+++ b/bin/changelog
@@ -214,9 +214,10 @@ class ChangelogEntry
end
def unreleased_path
- File.join('changelogs', 'unreleased').tap do |path|
- path << '-ee' if ee?
- end
+ path = File.join('changelogs', 'unreleased')
+ path = File.join('ee', path) if ee?
+
+ path
end
def ee?