MCPcopy Create free account
hub / github.com/adobe/react-spectrum / licenseHeader

Function licenseHeader

scripts/changelog.js:113–122  ·  view source on GitHub ↗
(year)

Source from the content-addressed store, hash-verified

111}
112
113function licenseHeader(year) {
114 return `{/* Copyright ${year} Adobe. All rights reserved.
115This file is licensed to you under the Apache License, Version 2.0 (the "License");
116you may not use this file except in compliance with the License. You may obtain a copy
117of the License at http://www.apache.org/licenses/LICENSE-2.0
118Unless required by applicable law or agreed to in writing, software distributed under
119the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
120OF ANY KIND, either express or implied. See the License for the specific language
121governing permissions and limitations under the License. */}`;
122}
123
124function scaffoldS2Docs({version, dateYMD, tag, body, commitCount}) {
125 let year = new Date().getFullYear();

Callers 1

scaffoldS2DocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected