File tree 2 files changed +7
-1
lines changed
core/src/main/java/io/cucumber/core/runtime
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
16
16
### Removed
17
17
18
18
### Fixed
19
+ * [ Core] Uncaught TypeError: e.git is undefined ([ #2466 ] ( https://github.com/cucumber/cucumber-jvm/pull/2466 ) M.P. Korstanje)
19
20
20
21
## [ 7.2.2] (2022-01-07)
21
22
Original file line number Diff line number Diff line change @@ -74,11 +74,16 @@ private Ci createCi() {
74
74
return null ;
75
75
}
76
76
77
+ Git git = createGit (ciEnvironment .getGit ());
78
+ if (git == null ) {
79
+ return null ;
80
+ }
81
+
77
82
return new Ci (
78
83
ciEnvironment .getName (),
79
84
ciEnvironment .getUrl (),
80
85
ciEnvironment .getBuildNumber (),
81
- createGit ( ciEnvironment . getGit ()) );
86
+ git );
82
87
}
83
88
84
89
private Git createGit (CiEnvironment .Git ciGit ) {
You can’t perform that action at this time.
0 commit comments