diff options
| author | Joel Klinghed <the_jk@opera.com> | 2024-04-19 12:49:39 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2024-04-19 12:49:39 +0200 |
| commit | 78abdf80d5ab99d6e84f2b5e2a4a6cc629fb4638 (patch) | |
| tree | 4bfd98fdf8d83efa4b5f47079e3cb65bb17f2b37 /bin | |
| parent | c3a1e90a323f785bd72b09779efbde50ac413030 (diff) | |
Bumped to 0.3.15
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/flycheck-android-java.py | 5 | ||||
| -rw-r--r-- | bin/flycheck-android-kotlin.py | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/flycheck-android-java.py b/bin/flycheck-android-java.py index 28e6415..656640e 100644 --- a/bin/flycheck-android-java.py +++ b/bin/flycheck-android-java.py @@ -98,7 +98,8 @@ def run_javac(encoding, source, target, bootcp, cp, files, output, args, command.extend(['-cp', ':'.join(cp)]) if output: command.extend(['-d', output]) - command.extend(args) + if [x for x in args if x]: + command.extend([x for x in args if x]) command.append(sourcefile) if outdir: return subprocess.call(command) @@ -162,7 +163,7 @@ def figure_out_java_compilation(sessiondir, sourcefile, tempfile, checkstyle, outdir = None if not output: - flycheck_cmd = cmd + ['-q', 'flycheckAndroidJava'] + flycheck_cmd = cmd + ['-q', '--no-configuration-cache', 'flycheckAndroidJava'] output = subprocess.check_output(flycheck_cmd, universal_newlines=True) if sessiondir != None: try: diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py index c42f5f4..b61b4be 100644 --- a/bin/flycheck-android-kotlin.py +++ b/bin/flycheck-android-kotlin.py @@ -153,7 +153,7 @@ def figure_out_kotlin_compilation(sessiondir, sourcefile, tempfile, detekt, outdir = None if not output: - flycheck_cmd = cmd + ['-q', 'flycheckAndroidKotlin'] + flycheck_cmd = cmd + ['-q', '--no-configuration-cache', 'flycheckAndroidKotlin'] output = subprocess.check_output(flycheck_cmd, universal_newlines=True) if sessiondir != None: try: |
