From fe1cc0cea6d6b0511ce9daae20b3cba0e7673769 Mon Sep 17 00:00:00 2001 From: David Crespo Date: Sat, 25 Nov 2023 18:31:45 -0600 Subject: [PATCH] increase license check location threshold for long shebang --- .licenserc.yaml | 2 ++ tools/deno/api-diff.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 9c37f59a4..f7b5c767c 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,4 +1,6 @@ header: + # default is 80, need to make it slightly longer for a long shebang + license-location-threshold: 100 license: spdx-id: MPL-2.0 content: | diff --git a/tools/deno/api-diff.ts b/tools/deno/api-diff.ts index 80c89c8f7..b502c91c5 100755 --- a/tools/deno/api-diff.ts +++ b/tools/deno/api-diff.ts @@ -1,4 +1,4 @@ -#! /usr/bin/env -S deno run --allow-run --allow-net --allow-read --allow-write --allow-env +#! /usr/bin/env -S deno run --allow-run --allow-net --allow-read --allow-write=/tmp --allow-env /* * This Source Code Form is subject to the terms of the Mozilla Public