Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the indentation of index.html #442

Merged
merged 1 commit into from
May 18, 2024

Conversation

omochi
Copy link
Contributor

@omochi omochi commented May 18, 2024

全体は2スペースインデントなのに、metaタグに入るところだけ4スペースになっていたので、直します。

@@ -48,7 +48,7 @@ extension HTML {

public static func indexPage(customContent: String?, entrypointName: String) -> String {
let scriptTag = #"<script type="module" src="\#(entrypointName)"></script>"#
if let customContent = customContent {
if let customContent {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if let shorthand にします。

@kateinoigakukun kateinoigakukun merged commit d1f9327 into swiftwasm:main May 18, 2024
1 of 3 checks passed
@omochi omochi deleted the fix-indexpage-indent branch May 18, 2024 04:34
@kateinoigakukun kateinoigakukun changed the title index.htmlのインデントを直す Correct the indentation of index.html May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants