mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Remove use of __dirname from main process
This commit is contained in:
@@ -11,7 +11,6 @@ import lodash from 'lodash';
|
||||
import type { ExtendedStorageID } from '../types/StorageService.d.ts';
|
||||
import type { ConversationModel } from '../models/conversations.preload.js';
|
||||
|
||||
export const APP_ROOT_PATH = path.join(__dirname, '..', '..');
|
||||
const { escapeRegExp, isString, isRegExp } = lodash;
|
||||
|
||||
const { compose } = lodashFp;
|
||||
@@ -232,8 +231,6 @@ export const addSensitivePath = (filePath: string): void => {
|
||||
redactSensitivePaths = createRedactSensitivePaths(sensitivePaths);
|
||||
};
|
||||
|
||||
addSensitivePath(APP_ROOT_PATH);
|
||||
|
||||
export const redactAll: RedactFunction = text => {
|
||||
let result = text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user