Skip to content

Commit

Permalink
Legacy workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 2, 2023
1 parent c742cd2 commit c9553ac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/archive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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++}`)
Expand Down Expand Up @@ -337,7 +331,6 @@ export function testArchive(
}

if (
!disableMtimeTesting &&
setMtime &&
(fsLutimesSupported ||
type !== PathType.SYMLINK)
Expand Down

0 comments on commit c9553ac

Please sign in to comment.