File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/groovy/net/minecrell/gitpatcher Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class Git {
95
95
if (type == String ) {
96
96
setup(null , System . err)
97
97
execute()
98
- return process. getInputStream() . text
98
+ return process. inputStream . text
99
99
}
100
100
}
101
101
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class FindGitTask extends DefaultTask {
36
36
def version = (git. version() as String ). readLines(). join(' , ' )
37
37
logger. lifecycle(" Using $version for patching submodule $submodule . " )
38
38
} catch (Throwable e) {
39
- throw new AssertionError (
39
+ throw new UnsupportedOperationException (
40
40
' Failed to verify Git version. Make sure running the Gradle build in an environment where Git is in your PATH.' , e);
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments