| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent de15ec5 commit f31bf30
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -124,7 +124,11 @@ async function compileString( | |||
| 124 | 124 | ||
| 125 | 125 | if (packageResult.path) { | |
| 126 | 126 | return pathToFileURL( | |
| 127 | - join(dirname(packageResult.path), !hasScope ? nameOrFirstPath : '', ...pathPart), | ||
| 127 | + join( | ||
| 128 | + dirname(packageResult.path), | ||
| 129 | + !hasScope && nameOrFirstPath ? nameOrFirstPath : '', | ||
| 130 | + ...pathPart, | ||
| 131 | + ), | ||
| 128 | 132 | ); | |
| 129 | 133 | } | |
| 130 | 134 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments