mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 06:13:38 -04:00
Removed unnecessary argument in Promise
This commit is contained in:
@@ -60,7 +60,7 @@ export default class GitHub extends Abstract {
|
||||
*/
|
||||
fetch_() {
|
||||
return fetch(this.base_)
|
||||
.then(response => response.json(), () => {})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (!(data instanceof Array))
|
||||
throw new TypeError
|
||||
|
||||
Reference in New Issue
Block a user