From 648917202d0832908ec57b72400f4c772e15a624 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 10 Jan 2025 07:47:32 +1300 Subject: [PATCH] fix: remove `debugger` statement (#1086) --- src/__tests__/volume/mkdirSync.test.ts | 1 - src/volume.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/__tests__/volume/mkdirSync.test.ts b/src/__tests__/volume/mkdirSync.test.ts index 46d4bf7ca..1db611bf7 100644 --- a/src/__tests__/volume/mkdirSync.test.ts +++ b/src/__tests__/volume/mkdirSync.test.ts @@ -121,7 +121,6 @@ describe('mkdirSync', () => { it('throws ENOTDIR when trying to create under something that is not a directory', () => { const vol = create({ '/a': 'I am a file' }); expect(() => { - debugger; vol.mkdirSync('/a/b/c', { recursive: true }); }).toThrow(/ENOTDIR/); }); diff --git a/src/volume.ts b/src/volume.ts index 92972a6ae..04603e506 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -1327,7 +1327,6 @@ export class Volume implements FsCallbackApi, FsSynchronousApi { } private realpathBase(filename: string, encoding: TEncodingExtended | undefined): TDataOut { - debugger; const realLink = this.getResolvedLinkOrThrow(filename, 'realpath'); return strToEncoding(realLink.getPath() || '/', encoding);