From fff95d1262c44d873d32aa625dcacdc029c9300d Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Mon, 4 Jan 2021 13:46:24 -0600 Subject: [PATCH] Fix CI by updating license years and fixing a type error --- ts/background.ts | 4 ++-- ts/model-types.d.ts | 2 +- ts/shims/showConfirmationDialog.tsx | 2 +- ts/test-electron/quill/emoji/completion_test.tsx | 2 +- ts/test-electron/quill/mentions/completion_test.tsx | 2 +- ts/textsecure.d.ts | 2 +- ts/views/conversation_view.ts | 2 +- ts/window.d.ts | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ts/background.ts b/ts/background.ts index e110523b01..5262834fcd 100644 --- a/ts/background.ts +++ b/ts/background.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only // This allows us to pull in types despite the fact that this is not a module. We can't @@ -240,7 +240,7 @@ type WhatIsThis = import('./window.d').WhatIsThis; window.log.info('Confirming deletion of old data with user...'); try { - await new Promise((resolve, reject) => { + await new Promise((resolve, reject) => { window.showConfirmationDialog({ cancelText: window.i18n('quit'), confirmStyle: 'negative', diff --git a/ts/model-types.d.ts b/ts/model-types.d.ts index 23022f1290..7bd3240a66 100644 --- a/ts/model-types.d.ts +++ b/ts/model-types.d.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as Backbone from 'backbone'; diff --git a/ts/shims/showConfirmationDialog.tsx b/ts/shims/showConfirmationDialog.tsx index 252186b0a3..71decba039 100644 --- a/ts/shims/showConfirmationDialog.tsx +++ b/ts/shims/showConfirmationDialog.tsx @@ -1,4 +1,4 @@ -// Copyright 2015-2020 Signal Messenger, LLC +// Copyright 2015-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only // This file is here temporarily while we're switching off of Backbone into diff --git a/ts/test-electron/quill/emoji/completion_test.tsx b/ts/test-electron/quill/emoji/completion_test.tsx index a0780e6025..a72a5d7c00 100644 --- a/ts/test-electron/quill/emoji/completion_test.tsx +++ b/ts/test-electron/quill/emoji/completion_test.tsx @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import { assert } from 'chai'; diff --git a/ts/test-electron/quill/mentions/completion_test.tsx b/ts/test-electron/quill/mentions/completion_test.tsx index 88f2aa1065..34e10d3cbb 100644 --- a/ts/test-electron/quill/mentions/completion_test.tsx +++ b/ts/test-electron/quill/mentions/completion_test.tsx @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import { assert } from 'chai'; diff --git a/ts/textsecure.d.ts b/ts/textsecure.d.ts index fe245219c9..30da7d2c2d 100644 --- a/ts/textsecure.d.ts +++ b/ts/textsecure.d.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import { diff --git a/ts/views/conversation_view.ts b/ts/views/conversation_view.ts index ca8f5feb24..074a0b99e2 100644 --- a/ts/views/conversation_view.ts +++ b/ts/views/conversation_view.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only /* eslint-disable @typescript-eslint/no-explicit-any */ diff --git a/ts/window.d.ts b/ts/window.d.ts index 8179dc5f64..72a6128b02 100644 --- a/ts/window.d.ts +++ b/ts/window.d.ts @@ -1,4 +1,4 @@ -// Copyright 2020 Signal Messenger, LLC +// Copyright 2020-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only // Captures the globals put in place by preload.js, background.js and others