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:
@@ -9,6 +9,7 @@ The following example shows how to check if the `--disable-gpu` flag is set.
|
||||
|
||||
```js
|
||||
const { app } = require('electron')
|
||||
|
||||
app.commandLine.hasSwitch('disable-gpu')
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user