Skip to content

Commit

Permalink
Merge pull request #47 from ga-devfront/feat/add-ts
Browse files Browse the repository at this point in the history
feat: add TS to checked files
  • Loading branch information
Quetzacoalt91 authored Feb 4, 2025
2 parents 3104b69 + 018e36e commit dd3049f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Available options:
```
--license=LICENSE License file to apply [default: "assets/osl3.txt"]
--exclude=EXCLUDE Comma-separated list of folders and files to exclude from the update [default: ""]
--extensions=EXTENSIONS Comma-separated list of file extensions to update [default: "php,js,css,scss,tpl,html.twig,json,vue"]
--extensions=EXTENSIONS Comma-separated list of file extensions to update [default: "php,js,ts,css,scss,tpl,html.twig,json,vue"]
--target=PATH Folder to work in [default: Current directory]
--dry-run Dry-run mode does not modify files
--display-report Whether or not to display a report
Expand Down
1 change: 1 addition & 0 deletions src/Command/UpdateLicensesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ private function findAndCheckExtension(InputInterface $input, OutputInterface $o

break;
case 'js':
case 'ts':
case 'css':
case 'scss':
$this->addLicenseToFile($file);
Expand Down

0 comments on commit dd3049f

Please sign in to comment.