Skip to content

Commit c6e2dc8

Browse files
committed
fix: mode of files reset to 644 when they are formatted
1 parent 929db67 commit c6e2dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modified-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class ModifiedFile<TFormatterConfig> {
160160
"--add",
161161
"--replace",
162162
"--cacheinfo",
163-
`100644,${hash},${this.pathInGit}`
163+
`${mode},${hash},${this.pathInGit}`
164164
],
165165
{cwd: this.gitDirectoryParent}
166166
);

0 commit comments

Comments
 (0)