Skip to content

Commit 3dec09e

Browse files
committed
Make a constructor parameter not a property
This is never accessed as a member property. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 8f78e98 commit 3dec09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/kotlin/org/gradle/github/dependencygraph/GitHubSnapshotParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const val PARAM_GITHUB_SHA = "GITHUB_DEPENDENCY_GRAPH_SHA"
1414
*/
1515
const val PARAM_GITHUB_WORKSPACE = "GITHUB_DEPENDENCY_GRAPH_WORKSPACE"
1616

17-
class GitHubSnapshotParams(private val pluginParameters: PluginParameters) {
17+
class GitHubSnapshotParams(pluginParameters: PluginParameters) {
1818
val dependencyGraphJobCorrelator: String = pluginParameters.load(PARAM_JOB_CORRELATOR)
1919
val dependencyGraphJobId: String =pluginParameters.load(PARAM_JOB_ID)
2020
val gitSha: String = pluginParameters.load(PARAM_GITHUB_SHA)

0 commit comments

Comments
 (0)