From 26bb956a5ec9d9a05a5393343d2eb2f71e6be679 Mon Sep 17 00:00:00 2001 From: DinoChiesa Date: Thu, 19 Dec 2024 06:33:38 +0000 Subject: [PATCH] insert missing copyright into apigeelintrc.js --- lib/package/apigeelintrc.js | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/lib/package/apigeelintrc.js b/lib/package/apigeelintrc.js index 3d76074..4e14382 100644 --- a/lib/package/apigeelintrc.js +++ b/lib/package/apigeelintrc.js @@ -1,11 +1,18 @@ -// apigeelintrc.js -// ------------------------------------------------------------------ -// -// created: Mon Apr 15 18:14:54 2024 -// last saved: <2024-July-19 12:24:12> +/* + Copyright © 2023-2024 Google LLC -/* jshint esversion:9, node:true, strict:implied */ -/* global process, console, Buffer */ + 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 + + https://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. +*/ const os = require("os"); const fs = require("fs"); @@ -32,7 +39,7 @@ const findRc = (settingsfiles, sourcedir) => { } return combine([sourcedir, ...locations], settingsfiles).find( - (candidate) => fs.existsSync(candidate) && fs.statSync(candidate).isFile() + (candidate) => fs.existsSync(candidate) && fs.statSync(candidate).isFile(), ); }; @@ -57,5 +64,5 @@ const readRc = (settingsfiles, sourcedir) => { module.exports = { readRc, - findRc + findRc, };