fix: savePage throw on relative paths (#32728)

This commit is contained in:
Shelley Vohr 2022-02-07 09:51:59 +01:00 committed by GitHub
parent d46431b564
commit 81fcd732c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 1 deletions

View file

@ -1856,7 +1856,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.