mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Switch from eslint to oxlint
This commit is contained in:
@@ -27,6 +27,7 @@ if (userData !== undefined) {
|
||||
try {
|
||||
mkdirSync(userData, { recursive: true });
|
||||
} catch (error) {
|
||||
// oxlint-disable-next-line no-console
|
||||
console.error('Failed to create userData', Errors.toLogFormat(error));
|
||||
}
|
||||
|
||||
@@ -34,6 +35,7 @@ if (userData !== undefined) {
|
||||
}
|
||||
|
||||
// Use console.log because logger isn't fully initialized yet
|
||||
// oxlint-disable-next-line no-console
|
||||
console.log(`userData: ${app.getPath('userData')}`);
|
||||
|
||||
const userDataPath = app.getPath('userData');
|
||||
|
||||
Reference in New Issue
Block a user