Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

require.main == module does not work in windows #85

Open
kriszyp opened this issue Jan 4, 2010 · 0 comments
Open

require.main == module does not work in windows #85

kriszyp opened this issue Jan 4, 2010 · 0 comments
Labels

Comments

@kriszyp
Copy link

kriszyp commented Jan 4, 2010

require.main has backslashes, and module uses slashes. Here is my attempt at a fix:
http://github.com/kriszyp/narwhal/commit/d975008666bd8d16a2171d28bfd2434d02668920

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant