Skip to content

Commit

Permalink
Fix indentation in generate-test.mjs (#4181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Jan 2, 2023
1 parent 81d482f commit 83ac000
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions e2e/clients/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
<h1>Test apps</h1>
<nav>
<ul>
<li><a href="dashboard-aws/index.html">dashboard-aws</a></li>
<li><a href="dashboard-aws-multipart/index.html">dashboard-aws-multipart</a></li>
<li><a href="dashboard-compressor/index.html">dashboard-compressor</a></li>
<li><a href="react/index.html">react</a></li>
<li><a href="dashboard-aws/index.html">dashboard-aws</a></li>
<li><a href="dashboard-aws-multipart/index.html">dashboard-aws-multipart</a></li>
<li><a href="dashboard-compressor/index.html">dashboard-compressor</a></li>
<li><a href="react/index.html">react</a></li>
<li><a href="dashboard-transloadit/index.html">dashboard-transloadit</a></li>
<li><a href="dashboard-tus/index.html">dashboard-tus</a></li>
<li><a href="dashboard-xhr/index.html">dashboard-xhr</a></li>
<li><a href="dashboard-ui/index.html">dashboard-ui</a></li>
<li><a href="dashboard-vue/index.html">dashboard-vue</a></li>
</ul>
<li><a href="dashboard-ui/index.html">dashboard-ui</a></li>
<li><a href="dashboard-vue/index.html">dashboard-vue</a></li>
</ul>
<nav>
</body>
</html>
2 changes: 1 addition & 1 deletion e2e/generate-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const homeUrl = new URL('clients/index.html', import.meta.url)
const home = await fs.readFile(homeUrl, 'utf8')
const newHome = home.replace(
'</ul>',
`\t<li><a href="${name}/index.html">${name}</a></li>\n\t\t\t</ul>`,
` <li><a href="${name}/index.html">${name}</a></li>\n </ul>`,
)
await fs.writeFile(homeUrl, newHome)

Expand Down

0 comments on commit 83ac000

Please sign in to comment.