File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -504,10 +504,12 @@ window.addEventListener("load", () => {
504
504
} ,
505
505
"open-file-picker" : ( ) => {
506
506
if ( "showOpenFilePicker" in window ) {
507
- window . showOpenFilePicker ( ) . then (
508
- displayOutcome ( "open-file-picker" , "success" ) ,
509
- displayOutcome ( "open-file-picker" , "error" ) ,
510
- ) ;
507
+ window
508
+ . showOpenFilePicker ( )
509
+ . then (
510
+ displayOutcome ( "open-file-picker" , "success" ) ,
511
+ displayOutcome ( "open-file-picker" , "error" ) ,
512
+ ) ;
511
513
} else {
512
514
displayOutcome (
513
515
"open-file-picker" ,
@@ -517,10 +519,12 @@ window.addEventListener("load", () => {
517
519
} ,
518
520
"open-directory-picker" : ( ) => {
519
521
if ( "showDirectoryPicker" in window ) {
520
- window . showDirectoryPicker ( ) . then (
521
- displayOutcome ( "open-directory-picker" , "success" ) ,
522
- displayOutcome ( "open-directory-picker" , "error" ) ,
523
- ) ;
522
+ window
523
+ . showDirectoryPicker ( )
524
+ . then (
525
+ displayOutcome ( "open-directory-picker" , "success" ) ,
526
+ displayOutcome ( "open-directory-picker" , "error" ) ,
527
+ ) ;
524
528
} else {
525
529
displayOutcome (
526
530
"open-directory-picker" ,
You can’t perform that action at this time.
0 commit comments