forked from projen/projen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Gitlab NestedConfiguration addStages error (projen#1475)
Creating a `NestedConfiguration` with a Job with stages throws ```TypeError: Cannot read properties of undefined (reading 'addStages')```. This is caused by the `parent` property (used in the overrided method) which gets set after the `super` call. Fortunately, the overrided `addStages` method isn't necessary since the `GitlabConfiguration` [already handles](https://github.com/projen/projen/blob/main/src/gitlab/gitlab-configuration.ts#L37) adding stages in the `createNestedTemplate` method. Sorry about that 😅 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
Showing
3 changed files
with
11 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters