Description of the problem or steps to reproduce
The fixPath method is incorrect - uses TrimLeft instead of TrimPrefix, removing the "runtime/" cutset and not prefix.
https://github.com/zyedidia/micro/blob/225927b9a25f0d50ea63ea18bc7bb68e404c0cfd/runtime/runtime.go#L14-L16
Seems like the bug is currently not triggerable. However, may break something in the future.
Description of the problem or steps to reproduce
The
fixPathmethod is incorrect - usesTrimLeftinstead ofTrimPrefix, removing the "runtime/" cutset and not prefix.https://github.com/zyedidia/micro/blob/225927b9a25f0d50ea63ea18bc7bb68e404c0cfd/runtime/runtime.go#L14-L16
Seems like the bug is currently not triggerable. However, may break something in the future.