From 864b2d1b3d011b1b2e74244dd2dd15bba95a570c Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Thu, 13 Oct 2022 17:28:18 -0500 Subject: [PATCH] Fix file header template (and a violation) Files are supposed to start with a line like this: // Copyright 20XX Signal Messenger, LLC However, the IDE template macro looked like this: // Copyright (c) 20XX Signal Messenger, LLC That caused our linter at `Scripts/lint/lint-license-headers` to complain. This fixes that, and a violation of it. I introduced this recently in 370ff654e714eca24e78117f47534a75eba2dac0. --- Signal.xcworkspace/xcshareddata/IDETemplateMacros.plist | 2 +- .../Donations/DonationReadMoreSheetViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal.xcworkspace/xcshareddata/IDETemplateMacros.plist b/Signal.xcworkspace/xcshareddata/IDETemplateMacros.plist index a08f115648..43073e9d4b 100644 --- a/Signal.xcworkspace/xcshareddata/IDETemplateMacros.plist +++ b/Signal.xcworkspace/xcshareddata/IDETemplateMacros.plist @@ -4,7 +4,7 @@ FILEHEADER -// Copyright (c) ___YEAR___ Signal Messenger, LLC +// Copyright ___YEAR___ Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only // diff --git a/Signal/src/ViewControllers/Donations/DonationReadMoreSheetViewController.swift b/Signal/src/ViewControllers/Donations/DonationReadMoreSheetViewController.swift index 23843c1f8b..c41b83eca4 100644 --- a/Signal/src/ViewControllers/Donations/DonationReadMoreSheetViewController.swift +++ b/Signal/src/ViewControllers/Donations/DonationReadMoreSheetViewController.swift @@ -1,5 +1,5 @@ // -// Copyright (c) 2022 Signal Messenger, LLC +// Copyright 2022 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only //