(str)
| 21934 | } |
| 21935 | } |
| 21936 | function uniqInStr(str) { |
| 21937 | let uniq = String(Math.random()).slice(2); |
| 21938 | while (str.indexOf(uniq) > -1) { |
| 21939 | uniq += uniq; |
| 21940 | } |
| 21941 | return uniq; |
| 21942 | } |
| 21943 | function stripPathFilename(path) { |
| 21944 | path = normalizePath(path); |
| 21945 | const index = path.lastIndexOf("/"); |