From 2b63d76d6ad7ac4a7f824b1f45d3636dc6f0fafe Mon Sep 17 00:00:00 2001 From: "novr (Nobuhisa Komiya)" Date: Thu, 29 Feb 2024 16:20:30 +0900 Subject: [PATCH] fix: package(name:url:_:)' is deprecated: use package(url:_:) --- Package.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Package.swift b/Package.swift index bb8bfab..585894e 100644 --- a/Package.swift +++ b/Package.swift @@ -13,8 +13,8 @@ let package = Package( targets: ["DangerSwiftKantoku"]), ], dependencies: [ - .package(name: "danger-swift", url: "https://github.com/danger/swift.git", .upToNextMajor(from: "3.0.0")), - .package(name: "XCResultKit", url: "https://github.com/davidahouse/XCResultKit", .upToNextMajor(from: "1.0.0")), + .package(url: "https://github.com/danger/swift", from: "3.0.0"), + .package(url: "https://github.com/davidahouse/XCResultKit", from: "1.0.0"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. @@ -22,7 +22,7 @@ let package = Package( .target( name: "DangerSwiftKantoku", dependencies: [ - .product(name: "Danger", package: "danger-swift"), + .product(name: "Danger", package: "swift"), "XCResultKit", ]), .testTarget(