Skip to content

Commit 03abffd

Browse files
committedJan 15, 2025
Fix case of $/execa script like yarn lint:spellcheck
1 parent 0f67016 commit 03abffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/knip/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ export const main = async (unresolvedConfiguration: CommandLineOptions) => {
338338
// Handle scripts here since they might lead to more entry files
339339
if (scripts && scripts.size > 0) {
340340
const dependencies = deputy.getDependencies(workspace.name);
341-
const manifestScriptNames = new Set<string>();
341+
const manifestScriptNames = new Set(Object.keys(chief.getManifestForWorkspace(workspace.name)?.scripts ?? {}));
342342
const rootCwd = cwd;
343343
const options = {
344344
cwd: dirname(filePath),

0 commit comments

Comments
 (0)
Please sign in to comment.