Add root resource path as last searched path

This commit is contained in:
Kevin Sawicki
2013-03-12 13:41:27 -07:00
parent e601c6e256
commit c61bf804a4

View File

@@ -69,6 +69,7 @@
NSString *fullPath = [NSString stringWithFormat:@"%@/%@", _resourcePath, [paths objectAtIndex:i]];
[resourcePaths addObject:fullPath];
}
[resourcePaths addObject:_resourcePath];
NSString *nodePath = [resourcePaths componentsJoinedByString:@":"];
setenv("NODE_PATH", [nodePath UTF8String], TRUE);