From 4354458cadc74fe85f885374506dbde0f1924bc9 Mon Sep 17 00:00:00 2001 From: Tyler Date: Fri, 18 Apr 2025 17:44:24 -0700 Subject: Add apache2 SPDX headers to all source files (#48) --- packages/cli/src/utils/errors.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/cli/src/utils/errors.ts') diff --git a/packages/cli/src/utils/errors.ts b/packages/cli/src/utils/errors.ts index a7fcc5a3..15417c83 100644 --- a/packages/cli/src/utils/errors.ts +++ b/packages/cli/src/utils/errors.ts @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + export function isNodeError(error: unknown): error is NodeJS.ErrnoException { return error instanceof Error && 'code' in error; } -- cgit v1.2.3