Skip to content

Commit

Permalink
refactor(blob): type url parameter as optional (#49201)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhooks authored Sep 12, 2023
1 parent 5331fb6 commit 045cb0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/blob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Check whether a url is a blob url.

_Parameters_

- _url_ `string`: The URL.
- _url_ `string|undefined`: The URL.

_Returns_

Expand Down
2 changes: 1 addition & 1 deletion packages/blob/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function revokeBlobURL( url ) {
/**
* Check whether a url is a blob url.
*
* @param {string} url The URL.
* @param {string|undefined} url The URL.
*
* @return {boolean} Is the url a blob url?
*/
Expand Down

1 comment on commit 045cb0d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 045cb0d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6163252635
📝 Reported issues:

Please sign in to comment.