mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 09:20:01 +02:00
✨ Add auto fixing
This commit is contained in:
parent
30c13d34a0
commit
6ca741c64d
3 changed files with 38 additions and 7 deletions
|
@ -106,6 +106,12 @@ export const commands: Cmd[] = [
|
|||
{
|
||||
cmd: 'license-check',
|
||||
aliases: ['lc'],
|
||||
options: [
|
||||
{
|
||||
arg: '-n, --no-fix',
|
||||
description: "Do not add MPL-2.0 headers to files that don't have it",
|
||||
},
|
||||
],
|
||||
description: 'Check the src directory for the absence of MPL-2.0 header.',
|
||||
controller: licenseCheck,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue