summaryrefslogtreecommitdiff
path: root/bin/flycheck-android-kotlin.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/flycheck-android-kotlin.py')
-rw-r--r--bin/flycheck-android-kotlin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py
index ad1d88f..f8f824a 100644
--- a/bin/flycheck-android-kotlin.py
+++ b/bin/flycheck-android-kotlin.py
@@ -241,9 +241,9 @@ def figure_out_kotlin_compilation(sessiondir, sourcefile, tempfile, detekt,
# OK, perhaps file doesn't exist yet or not yet added to gradle,
# whatever, assume the first group is good enough
if fallback:
- ret = run_kotlin(fallback['cp'], fallback['files'],
- fallback['output'], fallback['args'],
- tempfile, outdir)
+ ret = run_kotlinc(fallback['cp'], fallback['files'],
+ fallback['output'], fallback['args'],
+ tempfile, outdir)
compiled = True
if not ret and detekt: