mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Rename files
This commit is contained in:
12
ts/util/lint/sort_exceptions.node.ts
Normal file
12
ts/util/lint/sort_exceptions.node.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2018 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { join } from 'node:path';
|
||||
|
||||
import type { ExceptionType } from './types.std.js';
|
||||
import { loadJSON, writeExceptions } from './util.node.js';
|
||||
|
||||
const exceptionsPath = join(__dirname, 'exceptions.json');
|
||||
const exceptions: Array<ExceptionType> = loadJSON(exceptionsPath);
|
||||
|
||||
writeExceptions(exceptionsPath, exceptions);
|
||||
Reference in New Issue
Block a user