Skip to content

Commit

Permalink
Updating swift-cmark-gfm and fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hebertialmeida committed Nov 20, 2020
1 parent 5cba9ed commit 17d7557
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"package": "cmark_gfm",
"repositoryURL": "https://github.com/hebertialmeida/swift-cmark-gfm",
"state": {
"branch": "master",
"revision": "5f0607860c8b4aae17e7f4a82d41504f06a5cbef",
"version": null
"branch": null,
"revision": "9b3ec79cb00848f7a69bc13035f117b2a86d7bd8",
"version": "1.1.0"
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.3

import PackageDescription

Expand All @@ -9,7 +9,7 @@ let package = Package(
.library(name: "MarkdownSyntax", targets: ["MarkdownSyntax"]),
],
dependencies: [
.package(name: "cmark_gfm", url: "https://github.com/hebertialmeida/swift-cmark-gfm", .upToNextMajor(from: "1.0.0"))
.package(name: "cmark_gfm", url: "https://github.com/hebertialmeida/swift-cmark-gfm", .upToNextMajor(from: "1.1.0"))
],
targets: [
.target(name: "MarkdownSyntax", dependencies: ["cmark_gfm"]),
Expand Down
2 changes: 1 addition & 1 deletion Sources/MarkdownSyntax/CMark/CMExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public struct CMExtensionOption: OptionSet {
}

/// No extensions
public static let none = CMExtensionOption(rawValue: 0)
public static let none = CMExtensionOption([])

/// All extensions
public static let all: CMExtensionOption = [.tables, .autolinks, .strikethrough, .tagfilters, .tasklist]
Expand Down

0 comments on commit 17d7557

Please sign in to comment.