mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: lint code blocks in docs with ESLint (#42113)
This commit is contained in:
@@ -22,5 +22,6 @@ const oldPath = document.querySelector('input').files[0].path
|
||||
|
||||
// After
|
||||
const { webUtils } = require('electron')
|
||||
|
||||
const newPath = webUtils.getPathForFile(document.querySelector('input').files[0])
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user