Skip to content

Commit fc0d1db

Browse files
Removed warning on adding Changelog entries in favor of handling style in code.
1 parent b2f8056 commit fc0d1db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ desc "Sets the SDK version in all files"
140140

141141
finished = false
142142
while(!finished)
143-
UI.important "[ATTENTION] Do NOT include the `-` prefix in your entry."
144143
entry = prompt(text: "Type your entry for `#{type}`: ")
145-
entry = "- " + entry # Attach the - prefix
144+
entry = '- ' + entry unless entry.start_with?('-') # Attach the - prefix if needed
146145
changelog_changes << entry # Add line to total changes
147146

148147
additional_input = prompt(text: "Any additional entries for `#{type}`?", boolean: true)

0 commit comments

Comments
 (0)