refactor: use node scheme imports in docs/fiddles (#39110)

This commit is contained in:
Milan Burda 2023-07-17 10:30:53 +02:00 committed by GitHub
parent 9645f7f6d8
commit 626f46f75a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 24 additions and 24 deletions

View file

@ -1,8 +1,8 @@
const { desktopCapturer, shell, ipcRenderer } = require('electron')
const fs = require('fs')
const os = require('os')
const path = require('path')
const fs = require('node:fs')
const os = require('node:os')
const path = require('node:path')
const screenshot = document.getElementById('screen-shot')
const screenshotMsg = document.getElementById('screenshot-path')