refactor: use node scheme imports in spec (#38487)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
bf1ba4a857
commit
d78f37ec8f
105 changed files with 533 additions and 352 deletions
|
@ -1,6 +1,6 @@
|
|||
const { app, safeStorage, ipcMain } = require('electron');
|
||||
const { promises: fs } = require('fs');
|
||||
const path = require('path');
|
||||
const { promises: fs } = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const pathToEncryptedString = path.resolve(__dirname, '..', 'encrypted.txt');
|
||||
const readFile = fs.readFile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue