Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test262
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pmaksimo
test262
Commits
48a74710
Commit
48a74710
authored
6 years ago
by
Leo Balter
Committed by
Rick Waldron
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Relax lint check for licensing in files
parent
353cf531
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/lint/lib/checks/license.py
+1
-1
1 addition, 1 deletion
tools/lint/lib/checks/license.py
tools/lint/test/fixtures/license_missing.js
+0
-1
0 additions, 1 deletion
tools/lint/test/fixtures/license_missing.js
with
1 addition
and
2 deletions
tools/lint/lib/checks/license.py
+
1
−
1
View file @
48a74710
...
...
@@ -31,7 +31,7 @@ class CheckLicense(Check):
match
=
_LICENSE_PATTERN
.
search
(
source
)
if
not
match
:
return
'
No license information found.
'
return
year_str
=
match
.
group
(
2
)
try
:
...
...
This diff is collapsed.
Click to expand it.
tools/lint/test/fixtures/license_missing.js
+
0
−
1
View file @
48a74710
LICENSE
^
expected
errors
|
v
input
/*---
esid: sec-assignment-operators-static-semantics-early-errors
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment