Skip to content

Commit

Permalink
feat: remove strict write permission for generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Nov 27, 2024
1 parent 19df3ff commit 42b09f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const saveToFile = async (filePath: string, data: string) => {
}

try {
await writeFile(filePath, data, { mode: 0o600 })
await writeFile(filePath, data)
}
catch (writeError) {
handleFileSystemError('write', writeError as Error)
Expand Down

0 comments on commit 42b09f2

Please sign in to comment.