Skip to content

Commit

Permalink
Fix more slash errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne authored Sep 23, 2024
1 parent bc2f259 commit 5be39ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-package-api-docs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let moduleList = CommandLine.arguments[2]

let modules = moduleList.components(separatedBy: ",")

let publicDirectoryUrl = URL.currentDirectory().appending(component: "public/")
let publicDirectoryUrl = URL.currentDirectory().appending(component: "public")

do {
try run()
Expand Down Expand Up @@ -104,7 +104,7 @@ func generateDocs(module: String) throws {
"--fallback-bundle-version", "1.0.0",
"--transform-for-static-hosting",
"--hosting-base-path", "/\(module.lowercased())",
"--output-path", publicDirectoryUrl.appending(component: "\(module.lowercased())/").path,
"--output-path", publicDirectoryUrl.appending(component: "\(module.lowercased())").path,
])
}

Expand Down

0 comments on commit 5be39ac

Please sign in to comment.