fix(biome): use temp file instead of stdin (#4775)

biome handles utf8 characters differently between files and stdin, and
in some cases can replace emojis with ascii characters when using stdin

refs: biomejs/biome#2604
This commit is contained in:
Braden Kelley authored and GitHub committed 2024-06-21 08:19:55 +09:00
1 parent c7c41e1574
commit 0cd64c87bf
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -9,7 +9,8 @@ Execute(The default biome command should be correct):
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('biome')
\ . ' format --stdin-file-path=%s'
\ . ' format %t'
\ }