Skip to content

Commit

Permalink
handle no matching mods more gracefully (#1452)
Browse files Browse the repository at this point in the history
this came up during the recent docker experimentation. i had incorrectly attributed it to a missing `dust` directory but it happens on any device which is free of mods.
  • Loading branch information
ngwese authored Oct 5, 2021
1 parent 66fe5c0 commit 0fc9606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/startup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ _norns.start_audio()
-- load matron mods and invoke system hooks
local mods = require 'core/mods'
mods.load_enabled()
mods.load(mods.scan(), true) -- only load enabled mods
mods.load(mods.scan() or {}, true) -- only load enabled mods

0 comments on commit 0fc9606

Please sign in to comment.