Skip to content

Commit

Permalink
fsWriteFileSync needs a string not json object
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Staples committed Apr 19, 2022
1 parent bbe8b77 commit 642d69e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli/src/commands/setup/ui/libraries/tailwindcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ export const handler = async ({ force, install }) => {
...recommendedVSCodeExtensions,
],
}
fs.writeFileSync(VS_CODE_EXTENSIONS_PATH, newExtensionsJson)
fs.writeFileSync(
VS_CODE_EXTENSIONS_PATH,
JSON.stringify(newExtensionsJson, null, 2)
)
}
},
},
Expand Down

0 comments on commit 642d69e

Please sign in to comment.