Skip to content

Commit 59fcff6

Browse files
author
fulin
committed
fix: 修复velocity判断的问题
1 parent acd41b7 commit 59fcff6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/main/java/com/fulinlin/constant/GitCommitConstants.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* @create: 2019-12-08 11:37
77
**/
88
public class GitCommitConstants {
9-
public static final String DEFAULT_TEMPLATE = "#if($type)${type}#end#if(${scope})(${scope})#end: #if(${subject})${subject}#end\n" +
9+
public static final String DEFAULT_TEMPLATE = "#if($type)${type}#end#if($scope)(${scope})#end: #if($subject)${subject}#end\n" +
1010
"${newline}\n" +
11-
"#if(${body})${body}#end\n" +
11+
"#if($body)${body}#end\n" +
1212
"${newline}\n" +
13-
"#if(${changes})BREAKING CHANGE: ${changes}#end\n" +
13+
"#if($changes)BREAKING CHANGE: ${changes}#end\n" +
1414
"${newline}\n" +
15-
"#if(${closes})Closes ${closes}#end\n";
15+
"#if($closes)Closes ${closes}#end\n";
1616

1717
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#if($type)${type}#end#if(${scope})(${scope})#end: #if(${subject})${subject}#end
1+
#if($type)${type}#end#if($scope)(${scope})#end: #if($subject)${subject}#end
22
${newline}
3-
#if(${body})${body}#end
3+
#if($body)${body}#end
44
${newline}
5-
#if(${changes})BREAKING CHANGE: ${changes}#end
5+
#if($changes)BREAKING CHANGE: ${changes}#end
66
${newline}
7-
#if(${closes})Closes ${closes}#end
7+
#if($closes)Closes ${closes}#end

0 commit comments

Comments
 (0)