-
Notifications
You must be signed in to change notification settings - Fork 309
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
Doesn't detect circular dependency when ./ is in module path #33
Comments
Thanks for a good bug report! I have fixed it in v.0.3.3 now. |
Cool, thanks for the prompt fix! |
I think this one back! export class Bar {}
export * from './foo'; foo.ts import { Bar } from './';
export class Foo extends Bar {} If I change Edit: Seems to only be the case for Typescript. |
Do you include your tsconfig with the |
Oh, I did not. |
…ead of substack’s resolve lib since it works as expected (fixes pahen#33).
Problem:
It says no circular dependencies even though there is one.
To reproduce:
Directory structure
a.coffee:
b.coffee:
Now run
madge --circular --format amd ./
and notice that it doesn't detect the circular dependency.If you remove the
./
froma.coffee
it detects the circularity.I noticed this on Windows. I didn't have time yet to try on *nix.
The text was updated successfully, but these errors were encountered: