You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass in an a file as an argument that doesn't exist for example: /Users/jonathanleitschuh/work/git/plexxicontrol/PlexxiSwagger/ClientBindings/src/test/java/**/*.kt
I get the following very loud dump to standard error but no failure.
:PlexxiSwagger:ClientBindings:ktlintTest
Exception in thread "Thread-0" java.util.concurrent.ExecutionException: java.io.FileNotFoundException: /Users/jonathanleitschuh/work/git/plexxicontrol/PlexxiSwagger/ClientBindings/src/test/java (No such file or directory)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.github.shyiko.ktlint.Main$parallel$consumer$1.run(Main.kt:329)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /Users/jonathanleitschuh/work/git/plexxicontrol/PlexxiSwagger/ClientBindings/src/test/java (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at kotlin.io.FilesKt__FileReadWriteKt.readBytes(FileReadWrite.kt:52)
at kotlin.io.FilesKt__FileReadWriteKt.readText(FileReadWrite.kt:90)
at kotlin.io.FilesKt__FileReadWriteKt.readText$default(FileReadWrite.kt:90)
at com.github.shyiko.ktlint.Main$main$6$1$1.call(Main.kt:243)
at com.github.shyiko.ktlint.Main$main$6$1$1.call(Main.kt:43)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 more
I like that there is no failure but I think that this is a bit noisy of an exception to be dumping.
Perhaps a one line message if the file can't be found and then dump the full exception if the --debug or --verbose flag is set?
The text was updated successfully, but these errors were encountered:
Ktlint Version: 0.4.0
If I pass in an a file as an argument that doesn't exist for example:
/Users/jonathanleitschuh/work/git/plexxicontrol/PlexxiSwagger/ClientBindings/src/test/java/**/*.kt
I get the following very loud dump to standard error but no failure.
I like that there is no failure but I think that this is a bit noisy of an exception to be dumping.
Perhaps a one line message if the file can't be found and then dump the full exception if the
--debug
or--verbose
flag is set?The text was updated successfully, but these errors were encountered: