mirror of
https://github.com/woocommerce/woocommerce.git
synced 2025-08-18 10:21:16 +08:00
Fix TS error in tools/package-release (#59569)
The error was causing pnpm --filter='./tools/package-release' build to fail with src/validate.ts:118:86 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'. 118 .filter( ( name: string ) => excludedPackages.length && excludedPackages.includes( name ) );
This commit is contained in:
parent
68855a96f8
commit
23f9c0799e
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ import { dirname } from 'path';
|
|||
export const MONOREPO_ROOT = dirname( dirname( dirname( __dirname ) ) );
|
||||
|
||||
// Packages that are not meant to be released by monorepo team for whatever reason.
|
||||
export const excludedPackages = [];
|
||||
export const excludedPackages: string[] = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue