docs: Update BUG_REPORT
This commit is contained in:
parent
322b6fcbd6
commit
eb14aa1402
6
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
6
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
@ -58,11 +58,11 @@ body:
|
|||||||
Paste the JSON Camera `device` that was used here.
|
Paste the JSON Camera `device` that was used here.
|
||||||
Make sure to leave out the `formats` prop as that is too long for the issue.
|
Make sure to leave out the `formats` prop as that is too long for the issue.
|
||||||
|
|
||||||
|
Run this code in your app to get the `device` as a JSON:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
device.formats = undefined
|
console.log(JSON.stringify(device, (k, v) => k === "formats" ? [] : v, 2))
|
||||||
|
|
||||||
console.log(JSON.stringify(device, null, 2))
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user