File tree Expand file tree Collapse file tree
packages/monorepo-tools/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/* eslint-disable no-console */
2- import childProcess from 'child_process' ;
32import { promises as fs } from 'fs' ;
43// @ts -expect-error No definitions available
54import gitLogParser from 'git-log-parser' ;
@@ -15,8 +14,6 @@ import { getPackagesInTopologicalOrder } from './utils/get-packages-in-topologic
1514import { maxIncrement } from './utils/max-increment' ;
1615import { installDependencies } from './utils/package-manager' ;
1716
18- const execFile = promisify ( childProcess . execFile ) ;
19-
2017const LAST_BUMP_COMMIT_MESSAGE =
2118 process . env . LAST_BUMP_COMMIT_MESSAGE || 'chore(ci): bump packages' ;
2219
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments