Skip to content

Commit bc89c87

Browse files
committed
test: fix failing case
1 parent 42793f8 commit bc89c87

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

integration-tests/unexpected-patch-creation-failure/unexpected-patch-creation-failure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "modify left-pad"
99
npx replace leftPad patchPackage node_modules/left-pad/index.js
1010

1111
echo "force patch-package to fail"
12-
npx replace 'parsePatchFile\(' 'blarseBlatchBlile(' node_modules/@unts/patch-package/dist/makePatch.js
12+
npx replace 'parsePatchFile\)\(' 'blarseBlatchBlile)(' node_modules/@unts/patch-package/dist/makePatch.js
1313

1414
echo "there is no error log file"
1515
if ls ./patch-package-error.json.gz

src/detectPackageManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import colors from "chalk"
22
import findWorkspaceRoot from "find-yarn-workspace-root"
33
import fs from "fs-extra"
4-
import process from "process"
54
import { join } from "./path"
65

76
export type PackageManager = "yarn" | "npm" | "npm-shrinkwrap"

src/getAppRootPath.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { existsSync } from "fs-extra"
2-
import process from "process"
32
import { join, resolve } from "./path"
43

54
export const getAppRootPath = (): string => {

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import colors from "chalk"
22
import { isCI } from "ci-info"
33
import minimist from "minimist"
44
import { normalize, sep } from "path"
5-
import process from "process"
65
import slash from "slash"
76
import { applyPatchesForApp } from "./applyPatches"
87
import { detectPackageManager } from "./detectPackageManager"

src/makePatch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import colors from "chalk"
2-
import console from "console"
32
import {
43
copySync,
54
existsSync,

0 commit comments

Comments
 (0)