Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/features/rules/goose-rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ import {
ToolRuleFromFileParams,
ToolRuleFromRulesyncRuleParams,
ToolRuleParams,
ToolRuleSettablePaths,
ToolRuleSettablePathsGlobal,
} from "./tool-rule.js";

export type GooseRuleParams = ToolRuleParams;

export type GooseRuleSettablePaths = {
export type GooseRuleSettablePaths = Pick<ToolRuleSettablePaths, "root"> & {
root: {
relativeDirPath: string;
relativeFilePath: string;
Expand Down Expand Up @@ -48,7 +49,6 @@ export class GooseRule extends ToolRule {
global,
}: {
global?: boolean;
excludeToolDir?: boolean;
} = {}): GooseRuleSettablePaths | GooseRuleSettablePathsGlobal {
if (global) {
return {
Expand Down
Loading