Skip to content

Commit

Permalink
misc: Move Apache licence notice to top of licence contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
vxern committed Jun 23, 2024
1 parent 62b1d3e commit 48cd7ab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/constants/licences/apache.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
export default (copyright: string) =>
Object.freeze([
`${copyright}
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.`,
`Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -38,11 +45,4 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION`,
`You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
END OF TERMS AND CONDITIONS`,
`${copyright}
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.`,
]);

0 comments on commit 48cd7ab

Please sign in to comment.