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

Fix indentation in Product.swift #7427

Merged
merged 1 commit into from Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions Sources/PackageDescription/Product.swift
Expand Up @@ -69,7 +69,6 @@ public class Product {

/// The executable product of a Swift package.
public final class Executable: Product {

/// The names of the targets in this product.
public let targets: [String]

Expand Down Expand Up @@ -149,7 +148,7 @@ public class Product {
/// - name: The name of the executable product.
/// - targets: The targets to bundle into an executable product.
/// - Returns: A `Product` instance.
public static func executable(
public static func executable(
name: String,
targets: [String]
) -> Product {
Expand All @@ -167,7 +166,7 @@ public static func executable(
/// - name: The name of the plugin product.
/// - targets: The plugin targets to vend as a product.
/// - Returns: A `Product` instance.
@available(_PackageDescription, introduced: 5.5)
@available(_PackageDescription, introduced: 5.5)
public static func plugin(
name: String,
targets: [String]
Expand Down