You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.
1:
root = 'e:\temp';
path = 'e:\Temp\main.js';
then the while loop will endless when path = 'e:',
because: 'e:\temp' != 'e:\Temp'
so: should Ignore path insensitive.
2:
root = 'e:\temp';
path = 'e:\temp\main.js';
then the while loop will endless when path = 'e:',
because: 'e:\temp' != 'e:\temp'
so: should consider the path end of "" or not.
3:
better check the path value Inside the loop, when path === dirname (path) throw an excpetion. otherwise it will endless.
case ignor
此处可以统一转成大写或小写在做对比,不然有可能因为大小写不匹配死循环,我为这个问题浪费了半天时间,还以为不支持'./another.js'引用呢,差点就放弃duo了
The text was updated successfully, but these errors were encountered: