Skip to content

Commit 7c0218d

Browse files
committed
Remove sync not supported warnings
1 parent 491fa5a commit 7c0218d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

standalone-packages/codesandbox-browserfs/src/backend/CodeSandboxEditorFS.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,11 @@ export default class CodeSandboxEditorFS extends SynchronousFileSystem
285285
}
286286

287287
public rmdirSync(p: string) {
288-
warn('rmDirSync not supported');
288+
// Stubbed
289289
}
290290

291291
public mkdirSync(p: string) {
292-
warn('rmDirSync not supported');
292+
// Stubbed
293293
}
294294

295295
public readdirSync(path: string): string[] {
@@ -321,12 +321,12 @@ export default class CodeSandboxEditorFS extends SynchronousFileSystem
321321
}
322322

323323
public _sync(p: string, data: Buffer, cb: BFSCallback<Stats>): void {
324-
warn('Sync not supported');
324+
// Stubbed
325325

326326
cb(null, undefined);
327327
}
328328

329329
public _syncSync(p: string, data: Buffer): void {
330-
warn('Sync not supported');
330+
// Stubbed
331331
}
332332
}

0 commit comments

Comments
 (0)