From c9553acb69cc5df831496ae5da1dc54f7c1eaa01 Mon Sep 17 00:00:00 2001 From: JrMasterModelBuilder Date: Mon, 2 Oct 2023 02:04:27 -0400 Subject: [PATCH] Legacy workaround --- src/archive.spec.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/archive.spec.ts b/src/archive.spec.ts index de2352a..59bcf7f 100644 --- a/src/archive.spec.ts +++ b/src/archive.spec.ts @@ -19,12 +19,6 @@ import { streamToBuffer } from './util'; -// An option to disable mtime testing (for a CI that has issues). -// For Travis on Windows, which randomly fails to have the correct mtime. -export const disableMtimeTesting = - // eslint-disable-next-line no-process-env - process.env.ARCHIVE_FILES_DISABLE_MTIME_TESTING === '1'; - export const specTmpPath = ( (i: number) => (s: string) => pathJoin('spec', 'tmp', s, `${i++}`) @@ -337,7 +331,6 @@ export function testArchive( } if ( - !disableMtimeTesting && setMtime && (fsLutimesSupported || type !== PathType.SYMLINK)