File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 132132 <key >scriptfile </key >
133133 <string ></string >
134134 <key >subtext </key >
135- <string >Open development projects folders </string >
135+ <string >Open development project folders </string >
136136 <key >title </key >
137137 <string >Quick Open Project </string >
138138 <key >type </key >
Original file line number Diff line number Diff line change 66use Alfred \Workflows \ParamBuilder \Mod ;
77
88$ workflow = new Workflow ();
9+ $ workflow ->logger ()->info ('PHP version: ' .phpversion ());
10+
11+ if (! $ workflow ->argument ()) {
12+ return ;
13+ }
914
1015if (empty ($ workflow ->env ('SEARCH_PATHS ' ))) {
1116 return ;
2530
2631// Match directories
2732$ matches = glob ($ searchPathString , GLOB_ONLYDIR | GLOB_BRACE );
33+ $ workflow ->logger ()->info ('Search glob: ' .$ searchPathString );
2834
2935// Build a keyed list of directory folder names and full paths
3036$ list = [];
4753]);
4854
4955// Rock and roll
50- $ results = $ fuse ->search ($ workflow ->argument () ?? '' );
56+ $ results = $ fuse ->search ($ workflow ->argument ());
57+ $ workflow ->logger ()->info ('Matching results: ' .count ($ results ));
5158
5259foreach ($ results as $ result ) {
5360 $ workflow ->item ()
You can’t perform that action at this time.
0 commit comments