Skip to content

Commit

Permalink
Fix 'templates list' subcommand issue caused by addition of VSCode ov…
Browse files Browse the repository at this point in the history
…erlay
  • Loading branch information
stackotter committed May 13, 2024
1 parent 263c3ec commit 5ba9c04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/swift-bundler/Bundler/Templater/Templater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,10 @@ enum Templater {

let templateName = directory.lastPathComponent

// Skip `Base` template and `.git` directory
guard templateName != "Base" && !templateName.starts(with: ".") else {
// Skip `Base` template, `VSCode` template, and `.git` directory
guard
templateName != "Base" && templateName != "VSCode" && !templateName.starts(with: ".")
else {
continue
}

Expand Down

0 comments on commit 5ba9c04

Please sign in to comment.