Skip to content

Commit f443f21

Browse files
authored
showDirectoryPicker always returns 1 handle (#443)
1 parent d217064 commit f443f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ these steps:
845845
:: Shows a directory picker that lets the user select a single directory, returning a handle for
846846
the selected directory if the user grants read permission.
847847

848-
: handles = await window . {{Window/showDirectoryPicker()}}({ {{DirectoryPickerOptions/mode}}: 'readwrite' })
848+
: |handle| = await window . {{Window/showDirectoryPicker()}}({ {{DirectoryPickerOptions/mode}}: 'readwrite' })
849849
:: Shows a directory picker that lets the user select a single directory, returning a handle for
850850
the selected directory. The user agent can combine read and write permission requests on this handle into
851851
one subsequent prompt.

0 commit comments

Comments
 (0)