Closed deathaxe closed 2 years ago
Fixes #365
This commit restricts execution of on_load() to syntax_test_ files located within ST's packages path.
on_load()
syntax_test_
Note: Hard coded path separators such as / don't work on Windows and therefore must not be used.
/
Thanks for the fix. However, I addressed it in 3aae6fdcb76009e95ed73f65f82017fbb01d13d3 using pathlib instead.
pathlib
Fixes #365
This commit restricts execution of
on_load()
tosyntax_test_
files located within ST's packages path.Note: Hard coded path separators such as
/
don't work on Windows and therefore must not be used.