From 326675aca71d6d4c72a47029865cb5356d2cf84b Mon Sep 17 00:00:00 2001 From: Malte Bastian <40334865+bc-m@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:56:10 +0200 Subject: [PATCH] feat: update cli arguments (#85) --- .../com/github/biomejs/intellijbiome/BiomeStdinRunner.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/github/biomejs/intellijbiome/BiomeStdinRunner.kt b/src/main/kotlin/com/github/biomejs/intellijbiome/BiomeStdinRunner.kt index 424b1ef..3b6e4e2 100644 --- a/src/main/kotlin/com/github/biomejs/intellijbiome/BiomeStdinRunner.kt +++ b/src/main/kotlin/com/github/biomejs/intellijbiome/BiomeStdinRunner.kt @@ -98,10 +98,9 @@ class BiomeStdinRunner(private val project: Project) : BiomeRunner { args.add("--linter-enabled=false") } + args.add("--write") if (features.contains(Feature.UnsafeFixes)) { - args.add("--apply-unsafe") - } else { - args.add("--apply") + args.add("--unsafe") } return args