2023-01-03 11:55:46 -08:00
|
|
|
// Copyright 2018 Signal Messenger, LLC
|
2020-10-30 15:34:04 -05:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2018-09-20 15:24:52 -07:00
|
|
|
import { join } from 'path';
|
|
|
|
|
2021-10-26 14:15:33 -05:00
|
|
|
import type { ExceptionType } from './types';
|
2022-02-25 09:24:21 -06:00
|
|
|
import { loadJSON, writeExceptions } from './util';
|
2018-09-20 15:24:52 -07:00
|
|
|
|
|
|
|
const exceptionsPath = join(__dirname, 'exceptions.json');
|
|
|
|
const exceptions: Array<ExceptionType> = loadJSON(exceptionsPath);
|
|
|
|
|
2022-02-25 09:24:21 -06:00
|
|
|
writeExceptions(exceptionsPath, exceptions);
|