mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Add root resource path as last searched path
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user