We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
webpro
Learn more about funding links in repositories.
Report abuse
yarn lint:spellcheck
1 parent 0f67016 commit 03abffdCopy full SHA for 03abffd
packages/knip/src/index.ts
@@ -338,7 +338,7 @@ export const main = async (unresolvedConfiguration: CommandLineOptions) => {
338
// Handle scripts here since they might lead to more entry files
339
if (scripts && scripts.size > 0) {
340
const dependencies = deputy.getDependencies(workspace.name);
341
- const manifestScriptNames = new Set<string>();
+ const manifestScriptNames = new Set(Object.keys(chief.getManifestForWorkspace(workspace.name)?.scripts ?? {}));
342
const rootCwd = cwd;
343
const options = {
344
cwd: dirname(filePath),
0 commit comments