Skip to content

Commit 6ba691e

Browse files
rvandermeulenjonalmeida
authored andcommitted
Fix space assignment syntax warnings
1 parent efff288 commit 6ba691e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apilint/src/main/groovy/org/mozilla/apilint/ApiLintPlugin.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ApiLintPlugin implements Plugin<Project> {
5757
def apiCompatLint = project.task("apiCompatLint${name}", type: PythonExec) {
5858
description = "Runs API compatibility lint checks for variant ${name}"
5959
workingDir '.'
60-
scriptPath 'apilint.py'
60+
scriptPath = 'apilint.py'
6161
args '--show-noticed'
6262
args apiFile
6363
args currentApiFile
@@ -82,7 +82,7 @@ class ApiLintPlugin implements Plugin<Project> {
8282
def apiLintSingle = project.task("apiLintSingle${name}", type: PythonExec) {
8383
description = "Runs API lint checks for variant ${name}"
8484
workingDir '.'
85-
scriptPath 'apilint.py'
85+
scriptPath = 'apilint.py'
8686
args apiFile
8787
args '--result-json'
8888
args project.file(
@@ -120,7 +120,7 @@ class ApiLintPlugin implements Plugin<Project> {
120120
description = "Checks that the API changelog has been updated."
121121
group = 'Verification'
122122
workingDir '.'
123-
scriptPath 'changelog-check.py'
123+
scriptPath = 'changelog-check.py'
124124
args '--api-file'
125125
args apiFile
126126
args '--changelog-file'
@@ -150,7 +150,7 @@ class ApiLintPlugin implements Plugin<Project> {
150150
args '--label', 'Local API'
151151

152152
// diff exit value is != 0 if the files are different
153-
ignoreExitValue true
153+
ignoreExitValue = true
154154
}
155155

156156
def apiLintHelp = project.task("apiLintHelp${name}") {

0 commit comments

Comments
 (0)