mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +00:00 
			
		
		
		
	Merge pull request #1505 from pmario/fix-search-path-runtime-error
Fix trailing semicolon in TIDDLYWIKI_EDITION_PATH
This commit is contained in:
		| @@ -1546,7 +1546,11 @@ $tw.getLibraryItemSearchPaths = function(libraryPath,envVar) { | |||||||
| 	var pluginPaths = [path.resolve($tw.boot.corePath,libraryPath)], | 	var pluginPaths = [path.resolve($tw.boot.corePath,libraryPath)], | ||||||
| 		env = process.env[envVar]; | 		env = process.env[envVar]; | ||||||
| 	if(env) { | 	if(env) { | ||||||
| 		Array.prototype.push.apply(pluginPaths,env.split(path.delimiter)); | 		env.split(path.delimiter).map(function(item) { | ||||||
|  | 			if(item) { | ||||||
|  | 				pluginPaths.push(item) | ||||||
|  | 			} | ||||||
|  | 		}); | ||||||
| 	} | 	} | ||||||
| 	return pluginPaths; | 	return pluginPaths; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston