fix: savePage throw on relative paths (#33018)

This commit is contained in:
Shelley Vohr
2022-02-22 08:30:46 +01:00
committed by GitHub
parent 5d5b2bf8e5
commit d54f1d58f7
3 changed files with 48 additions and 7 deletions

View File

@@ -1840,7 +1840,7 @@ the cursor when dragging.
#### `contents.savePage(fullPath, saveType)`
* `fullPath` String - The full file path.
* `fullPath` String - The absolute file path.
* `saveType` String - Specify the save type.
* `HTMLOnly` - Save only the HTML of the page.
* `HTMLComplete` - Save complete-html page.