From cc7d5cb5d5a3d8119e233206fec613ef4e6a7613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Tue, 19 Apr 2022 11:05:15 +0200 Subject: [PATCH] Updates snapshots --- tests/_binHelpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_binHelpers.ts b/tests/_binHelpers.ts index fae5cd326..5a83909fc 100644 --- a/tests/_binHelpers.ts +++ b/tests/_binHelpers.ts @@ -3,7 +3,7 @@ import {Filename, ppath, xfs, PortablePath} from '@yarnpkg/fslib'; export async function makeBin(cwd: PortablePath, name: Filename, {ignorePlatform = false}: {ignorePlatform?: boolean} = {}) { let path = ppath.join(cwd, name); if (process.platform === `win32` && !ignorePlatform) - path = `${path}.cmd` as PortablePath; + path = `${path}.CMD` as PortablePath; await xfs.writeFilePromise(path, ``); await xfs.chmodPromise(path, 0o755); @@ -17,7 +17,7 @@ export function getBinaryNames(name: string) { return [ `${name}`, - `${name}.cmd`, + `${name}.CMD`, `${name}.ps1`, ]; }