From c7d55666ac8342e5ff5bfe365fbfcd6cca7f7483 Mon Sep 17 00:00:00 2001 From: Brian Hartin Date: Mon, 18 Sep 2017 12:01:10 -0500 Subject: [PATCH] Fixing getMenuItems call which broke after Hammerspoon v0.9.56. --- .menupenny.lua.swp | Bin 12288 -> 0 bytes menupenny.lua | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 .menupenny.lua.swp diff --git a/.menupenny.lua.swp b/.menupenny.lua.swp deleted file mode 100644 index 756e74d7c741fee89dd360cdfd3e842ba92621b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2O^6&t6vrzut0pmi1p=CbWk<=3nVro>gRl^AGk!&~63r$UHyfzwshMuKr+e(G z-p#UX5+Ol?2Ne_(@C!WT;zd#K9y~@NY69v(QBO+5gP;V#e^qt$^p3lpatT($FTGt| z_1>%hdsWp-wz>V_o(cM3{Q-jORzikeJa_2IzRN?8UnZoPhAa+PD#KX4UGZv~KEn~~ z$)s105}!rObv{-yI8qN-x64z}OOkjbj6+$EGPc|(*X9&(3S1op){^^ojBZ!9ws?2b zjkh1TI%b^}r+`zyDc}@v3OEIv0!{&^fK%X_P(b!pk>iMTbslY+-&YOX^GA1c3OEIv z0!{&^fK$LJ;1qBQI0c*nP64NYQ{Wm@fVBwu9l!j4y#~SK|Nrgp|G(Zs$S>eL_z;`{ zuY!}{1UL>3gSFtZn+Z7!UI(uM2A%+$zy|Q!210%YKY;JSN8oMn7I+Hm1e?HjHxcqF zI0L4^ZQy$F<9b3q0O!Cv;4C-|PJxqP8c?tiTv;zlEU0^e~6RZOlZXo1c za2h1wKH!1P;5zWr^@ssn0Plg9KnTXcdT@RS`hqvX1b7te2IJr%uo0{SLtqW~26?;$ zE&`R)uYkLp0{=4wC?&(gG!XTq$Kys4izMQeDm@^0JBw&LNok8WvrZ?BJ9R>M+^P~v z)n6f1ssy8gM9%Q}dNYh$l?Bi5w!Fm}^||-(zHTrzU)A?#uMMS9`uHVsJ#dCxC0iTkg zjQF(fhye7xKcw8HG!lVmV})C|jKj#dqg4O(R^diqpr55FkL6g0%YMvxqZt*pivdfW z?oyVi40x<#Gq!cmCA<0=Qc_$?z3Vv9ZZ*})Gy)cPc&ovpsLA}9N|6ks8;*jazX*~! zZP*$x%J0vbll-Wxv{@v$@@ro=I}fuI7HxZx)V{cd8iGgMF9fNeXxecm!${OcFG3x` zrr`0EC*jGPM)iz%c}k&{c}b5A=wp>;sIFNiQLzZlNRo#L+2AREsK&)XvYQAw-fx5_tD{{8YE{5}zp`n{WtPUYt6FVbUD)q3iDDF$5M^%5 zSM|yJm!xTjk>qK)@~l@q7|RL63bA!UVc&Z)k&h*D%y#q1fT!G3y`WduH`!h;U_EuX zIHH|xyT>a+F7mvBTmx3IGSpVAGXi%yMRd`mhuRg2DW_ayk<{&ZJPUXz)}OYa*PmVK zUDhjPg(^0ziZN6c#P0R|L%`-v3~EqBVb_7ZmsSQU%XCB3eiCD0PqJo&C1_e}bOFa) zq_)pRGg}OxI1qcNV_ESi^=Q40cugPMMU^ckY_9*dUqo*Y6F&%}7LEy}LT=TXEqS)@ zly{E?Oqf8nNYh}Apq6YHR()d~)19r4KhwyaO^uqfPwxih7yTp0=CAOq1nc%P$tUuh zD3vO+HQHn9lv7W}yIze4SroQx&&q7o8dhHrGqqXll^7Rdohm`9w3Q%m=zO3P)G3{q zrx8vlnzZTOjM14mnTvR{x9Y zl9f8EW4{#aaXSQk?G=TwWKU4z(18%^R)3>mDWRCi EKMCRm(*OVf diff --git a/menupenny.lua b/menupenny.lua index f684e66..201bf5c 100644 --- a/menupenny.lua +++ b/menupenny.lua @@ -95,7 +95,7 @@ function init() local menuItemPaths local title = current:title() if menuItemCache[title] == nil then - local menuItems = current:getMenuItems(current) + local menuItems = current:getMenuItems() menuItemCache[title] = menuItemsToPaths(menuItems, nil) end menuItemPaths = menuItemCache[title]