diff options
Diffstat (limited to 'components/embedding.rb')
-rw-r--r-- | components/embedding.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/embedding.rb b/components/embedding.rb index 46d0fba..f08ff3d 100644 --- a/components/embedding.rb +++ b/components/embedding.rb @@ -33,7 +33,7 @@ module NanoBot path = "#{File.expand_path('../static/fennel', __dir__)}/?.lua" state = SweetMoon::State.new(package_path: path).fennel - # TODO: global is deprecated... + # TODO: `global` is deprecated. state.fennel.eval( "(global embedded (fn [#{parameters.join(' ')}] #{source}))", 1, safety[:sandboxed] ? { allowedGlobals: %w[math string table] } : nil |