Skip to content

Commit e0385d8

Browse files
committed
Ignore .DS_Store when checking if it's safe to manage the server dir
1 parent fc3a5ad commit e0385d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/start.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ class HttpToolkitServer extends Command {
8181
if (serverPaths.some((filename) =>
8282
!semver.valid(filename.replace(/\.partial\.\d+$/, '')) &&
8383
filename !== 'bin' &&
84-
filename !== 'current'
84+
filename !== 'current' &&
85+
filename !== '.DS_Store' // Meaningless Mac folder metadata
8586
)) {
8687
console.log(serverPaths);
8788
reportError(

0 commit comments

Comments
 (0)