Skip to content

Commit

Permalink
Merge pull request #3 from rabc/master
Browse files Browse the repository at this point in the history
Two small bug fixes
  • Loading branch information
drewmccormack committed Oct 19, 2019
2 parents 1514d6a + a9ed1f0 commit de18693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/LLVS/Core/Value.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public struct Value: Codable, Identifiable {
}

/// Convenience that saves creating IDs
public init(idString: String = UUID().uuidString, data: Data) {
public init(idString: String, data: Data) {
self.init(id: ID(idString), data: data)
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/LLVS/Exchanges/FileSystemExchange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class FileSystemExchange: NSObject, Exchange, NSFilePresenter {
fileprivate let fileManager = FileManager()
fileprivate let queue = OperationQueue()

init(rootDirectoryURL: URL, store: Store, usesFileCoordination: Bool) {
public init(rootDirectoryURL: URL, store: Store, usesFileCoordination: Bool) {
self.rootDirectoryURL = rootDirectoryURL
self.store = store
self.usesFileCoordination = usesFileCoordination
Expand Down

0 comments on commit de18693

Please sign in to comment.