Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does epScript allow relative path import? #14

Open
KanzakiYui opened this issue May 16, 2020 · 1 comment
Open

Does epScript allow relative path import? #14

KanzakiYui opened this issue May 16, 2020 · 1 comment

Comments

@KanzakiYui
Copy link

As far I can see, it only allows absolute path import (root is at entry point).

For example:

main/
    lib/
        lib/unit
            lib/unit/order
                lib/unit/order/castYamatoGun
                lib/unit/order/castPlague

When we wanna import from castYamatoGun into castPlague, we still needs to:

import lib.unit.order.castYamatoGun
// then castYamatoGun.methodX(...)

while they are in the same folder, why don't we allow:

import ./castYamatoGun

instead?

@armoha
Copy link
Contributor

armoha commented Sep 10, 2021

Fixed in https://github.com/armoha/euddraft/releases/tag/v0.9.3.6
Thanks for suggestion!

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

No branches or pull requests

2 participants