Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix type
Brad Cornes <bradlc41@gmail.com>
5 years ago
1 changed files, 1 additions(+), 1 deletions(-)
M src/util.ts -> src/util.ts
diff --git a/src/util.ts b/src/util.ts
index 5d3f624607ddb7384776f0bbc2145e366ef428cb..6dd6a4d2607ae974787c7009f843b4f810b43170 100644
--- a/src/util.ts
+++ b/src/util.ts
@@ -6,7 +6,7 @@ export function createTempFile(content: string, options = {}): Promise<string> {
   return new Promise((resolve, reject) => {
     tmp.file(options, (err, path) => {
       if (err) return reject(err)
-      fs.writeFile(path, content, 'utf8', err => {
+      fs.writeFile(path, content, { encoding: 'utf8' }, err => {
         if (err) return reject(err)
         resolve(path)
       })