2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,12 @@ function process(input) {
40
40
}
41
41
42
42
function fi ( filter , output ) {
43
- const filterSplit = filter . split ( ' ' )
44
- for ( const filter of filterSplit ) {
45
- output = alfy . matches ( filter , output , 'match' ) ;
46
- }
47
- return output
43
+ const filterSplit = filter . split ( ' ' ) ;
44
+ for ( const filter of filterSplit ) {
45
+ output = alfy . matches ( filter , output , 'match' ) ;
46
+ }
47
+
48
+ return output ;
48
49
}
49
50
50
51
const output = process ( input ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function constructOutput(prefix, slug) {
13
13
copy : slug ,
14
14
largetype : slug ,
15
15
} ,
16
- match : prefix ,
16
+ match : prefix ,
17
17
mods : {
18
18
cmd : {
19
19
subtitle : 'Paste to front most app & copy to clipboard' ,
@@ -27,14 +27,14 @@ export function constructOutput(prefix, slug) {
27
27
28
28
export function constructOutputRename ( prefix , slug , options ) {
29
29
return {
30
- variables : {
31
- action : " rename" ,
32
- } ,
33
- title : `Rename with ${ prefix } : ${ slug } ` ,
34
- subtitle : " CAUTION: This can not be undone!" ,
35
- match : prefix ,
36
- arg : JSON . stringify ( options ) ,
37
- } ;
30
+ variables : {
31
+ action : ' rename' ,
32
+ } ,
33
+ title : `Rename with ${ prefix } : ${ slug } ` ,
34
+ subtitle : ' CAUTION: This can not be undone!' ,
35
+ match : prefix ,
36
+ arg : JSON . stringify ( options ) ,
37
+ } ;
38
38
}
39
39
40
40
export function getClipboardContent ( ) {
0 commit comments