Skip to content

Commit 2624e7e

Browse files
Update README.md
1 parent 3f6ea55 commit 2624e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You can use Xcode SPM GUI: *File -> Swift Packages -> Add Package Dependency ->
4848
Or add the following to your `Package.swift` file:
4949

5050
``` swift
51-
.package(url: "https://github.com/artemkalinovsky/Legatus.git", from: Version(from: "2.0.1"))
51+
.package(url: "https://github.com/artemkalinovsky/Legatus.git", exact: Version("2.0.1"))
5252
```
5353

5454
and then specify `"Legatus"` as a dependency of the Target in which you wish to use Legatus.
@@ -66,7 +66,7 @@ let package = Package(
6666
targets: ["MyPackage"]),
6767
],
6868
dependencies: [
69-
.package(url: "https://github.com/artemkalinovsky/Legatus.git", from: Version(from: "2.0.1"))
69+
.package(url: "https://github.com/artemkalinovsky/Legatus.git", exact: Version("2.0.1")
7070
],
7171
targets: [
7272
.target(

0 commit comments

Comments
 (0)