Commit d23788f 1 parent 507f61a commit d23788f Copy full SHA for d23788f
File tree 1 file changed +10
-10
lines changed
src/main/groovy/net/researchgate/release
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ class SvnAdapter extends BaseScmAdapter {
68
68
@Override
69
69
void checkCommitNeeded () {
70
70
String out = svnExec([' status' ])
71
- int changes = 0
72
- int unknown = 0
71
+ int changes = 0
72
+ int unknown = 0
73
73
out. eachLine { line ->
74
74
line = line. trim()
75
75
if (line. length() >= 2 && line. charAt(1 ) == ' ' as char ) {
@@ -105,14 +105,14 @@ class SvnAdapter extends BaseScmAdapter {
105
105
String out = svnExec([' status' , ' -q' , ' -u' ])
106
106
int missing = 0
107
107
out. eachLine { line ->
108
- line = line. trim()
109
- if (line. length() >= 2 && line. charAt(1 ) == ' ' as char ) {
110
- switch (line. charAt(0 )) {
111
- case ' *' :
112
- missing++
113
- break
114
- }
115
- }
108
+ line = line. trim()
109
+ if (line. length() >= 2 && line. charAt(1 ) == ' ' as char ) {
110
+ switch (line. charAt(0 )) {
111
+ case ' *' :
112
+ missing++
113
+ break
114
+ }
115
+ }
116
116
}
117
117
if (missing > 0 ) {
118
118
warnOrThrow(extension. failOnUpdateNeeded, " You are missing ${ missing} changes." )
You can’t perform that action at this time.
0 commit comments