소스 검색

[doc] work around problem with empty class paths

Simon Krajewski 5 년 전
부모
커밋
dbe49fa69c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      extra/ImportAll.hx

+ 1 - 1
extra/ImportAll.hx

@@ -73,7 +73,7 @@ class ImportAll {
 		case "tools", "build-tool", "jar-tool": return;
 		}
 		for( p in Context.getClassPath() ) {
-			if( p == "/" )
+			if( p == "/" || p == "" )
 				continue;
 			// skip if we have a classpath to haxe
 			if( pack.length == 0 && sys.FileSystem.exists(p+"std") )