aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/kotlin.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/kotlin.js')
-rw-r--r--lib/compilers/kotlin.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/compilers/kotlin.js b/lib/compilers/kotlin.js
index 0871dfcab..7936acef2 100644
--- a/lib/compilers/kotlin.js
+++ b/lib/compilers/kotlin.js
@@ -22,8 +22,8 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
-import { KotlinParser } from './argument-parsers';
-import { JavaCompiler } from './java';
+import {KotlinParser} from './argument-parsers';
+import {JavaCompiler} from './java';
export class KotlinCompiler extends JavaCompiler {
static get key() {
@@ -50,8 +50,9 @@ export class KotlinCompiler extends JavaCompiler {
filterUserOptions(userOptions) {
// filter options without extra arguments
- userOptions = (userOptions || []).filter(option =>
- option !== '-script' && option !== '-progressive' && !option.startsWith('-Xjavac'));
+ userOptions = (userOptions || []).filter(
+ option => option !== '-script' && option !== '-progressive' && !option.startsWith('-Xjavac'),
+ );
const oneArgForbiddenList = new Set([
// -jdk-home path
@@ -72,9 +73,7 @@ export class KotlinCompiler extends JavaCompiler {
// Forcibly enable javap
filters.binary = true;
- return [
- '-Xjavac-arguments="-Xlint:all"',
- ];
+ return ['-Xjavac-arguments="-Xlint:all"'];
}
/**