Skip to content

Commit

Permalink
Fix all-files to accept boolean input (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanSchoof authored Aug 8, 2023
1 parent 58865e4 commit 76bafe1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const inputs: Inputs = {
extensions: getInput('extensions').split(',').map((ext) => ext.trim()),
ignorePath: getInput('ignore-path'),
ignorePatterns: getMultilineInput('ignore-patterns'),
allFiles: getInput('all-files'),
allFiles: getBooleanInput('all-files'),
};

export default inputs;
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface Inputs {
extensions: string[];
ignorePath: string;
ignorePatterns: string[];
allFiles: string;
allFiles: boolean;
}

export type FileNamesList = string[];
Expand Down

0 comments on commit 76bafe1

Please sign in to comment.