Skip to content

refactor!: remove utils.script_path and replace with utils.module_dir#166

Merged
amirbilu merged 1 commit intocodota:masterfrom
aarondill:utils-module-dir
Mar 25, 2024
Merged

refactor!: remove utils.script_path and replace with utils.module_dir#166
amirbilu merged 1 commit intocodota:masterfrom
aarondill:utils-module-dir

Conversation

@aarondill
Copy link
Contributor

part 3 of #141

This more clearly describes what it returns.
script_path is replaced with script_dir which returns a value based on the currently running file

note: module_dir relies on utils.lua's location, and will break if the file is moved

This more clearly describes what it returns.
script_path is replaced with script_dir which returns a value based on the currently running file

note: module_dir relies on utils.lua's location, and will break if the file is moved
@aarondill aarondill requested a review from amirbilu as a code owner March 25, 2024 07:28
@aarondill aarondill mentioned this pull request Mar 25, 2024
@amirbilu amirbilu merged commit f0eb52a into codota:master Mar 25, 2024
@aarondill aarondill deleted the utils-module-dir branch March 25, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants