CFC-Servers / CFC-Servers/GLuaTest

Gamemode filepaths break error context logger.

Open
#49 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Lua
Stars
87
Forks
14
PR merge metrics
No merged PRs in 30d

Description

`debug.getinfo` returns the test file's absolute path, which for gamemode files starts with `gamemodes//...`. This path is not valid and should instead be `/...`

This is just a specific edgecase for gamemode files, which are not supported by default anyway (without using `GLuaTest_RunTestFiles` to insert the tests manually).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.