Skip to content

Commit 0aa5ae1

Browse files
author
Illia Obukhau
authored
Fix: don't use single quotes in listPackages (#34)
2 parents d52057f + 69abfd4 commit 0aa5ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tools/release-utils-internal/src/monorepo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface PackageListing {
1919

2020
export async function listPackages(packageNames: string[]): Promise<PackageListing[]> {
2121
const pnpmCommand = `pnpm ls --json`;
22-
const filters = packageNames.map(name => `--filter '${name}'`);
22+
const filters = packageNames.map(name => `--filter ${name}`);
2323
const command = [pnpmCommand, ...filters].join(" ");
2424
const result = (await exec(command, { stdio: "pipe" })).stdout.trim();
2525
const data = <PackageListing[]>JSON.parse(result !== "" ? result : "[]");

0 commit comments

Comments
 (0)