We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff656e commit d22f746Copy full SHA for d22f746
packages/cli/src/bin/index.ts
@@ -1,8 +1,7 @@
1
#!/usr/bin/env node
2
-import { resolve } from 'node:path';
+import { relative, resolve } from 'node:path';
3
import { fileURLToPath } from 'node:url';
4
import { parseArgs } from 'node:util';
5
-import path from 'path';
6
import * as process from 'process';
7
import { $ } from 'execa';
8
@@ -125,7 +124,7 @@ switch (command) {
125
124
}
126
127
case 'patch-compat-table': {
128
- const patchesPath = path.relative(process.cwd(), fileURLToPath(new URL('../../patches', import.meta.url)));
+ const patchesPath = relative(process.cwd(), fileURLToPath(new URL('../../patches', import.meta.url)));
129
130
try {
131
await $`patch-package --patch-dir ${patchesPath}`;
0 commit comments