Skip to content

Commit 50aedf7

Browse files
committed
chore: fix check
1 parent 3ee0315 commit 50aedf7

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

packages/monorepo-tools/src/bump-packages.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable no-console */
2-
import childProcess from 'child_process';
32
import { promises as fs } from 'fs';
43
// @ts-expect-error No definitions available
54
import gitLogParser from 'git-log-parser';
@@ -15,8 +14,6 @@ import { getPackagesInTopologicalOrder } from './utils/get-packages-in-topologic
1514
import { maxIncrement } from './utils/max-increment';
1615
import { installDependencies } from './utils/package-manager';
1716

18-
const execFile = promisify(childProcess.execFile);
19-
2017
const LAST_BUMP_COMMIT_MESSAGE =
2118
process.env.LAST_BUMP_COMMIT_MESSAGE || 'chore(ci): bump packages';
2219

packages/monorepo-tools/src/where.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function npmWorkspaces(packages: string[]) {
7676
const packageManager = getPackageManager();
7777
const packageManagerVersion = await getPackageManagerVersion();
7878

79-
if (packageManager != 'npm') {
79+
if (packageManager !== 'npm') {
8080
throw Error(
8181
`"npm run where" only supports npm, using ${packageManager}. Use the command with pnpm --filter or --lerna-exec instead`,
8282
);

0 commit comments

Comments
 (0)