kira2040k / php_code_analysis

MIT License
94 stars 22 forks source link

listdir() NotADirectoryError: [WinError 267] #4

Open nonu11 opened 3 years ago

nonu11 commented 3 years ago

当目录下存在无后缀文件时例如Dockerfile,listdir()会报错:NotADirectoryError: [WinError 267] 目录名称无效,所以需要对该函数捕获异常。

mondjunge commented 3 years ago

this problem is fixed in the latest version