latest build breaks path references?

This code:

TextCandy = require("…/lib_text_candy")

used to work, but since at latest build (maybe earlier, I missed a few)

throws an error:

Runtime error
Error calling ‘require("…/lib_text_candy")’. Lua requires package names to use ‘.’ as path separators, not ‘/’. Replace the ‘/’ characters with ‘.’ and try again.

The fix is to remove the …/ path ref, but is this a bug or a feature? [import]uid: 17438 topic_id: 26567 reply_id: 326567[/import]

This is a feature, not a bug, to make paths more “strict” according to Lua. It will probably displease as many people as it pleases, but this is the “new way” (Clockwork Orange reference, for us old-school movie fans :slight_smile: ).

Brent Sorrentino
Ignis Design

[import]uid: 9747 topic_id: 26567 reply_id: 107737[/import]

Brent is correct [import]uid: 84637 topic_id: 26567 reply_id: 107926[/import]