Skip to content

Commit

Permalink
Shuffle parameters in LocalAdapter.init
Browse files Browse the repository at this point in the history
  • Loading branch information
zdnk committed Oct 18, 2018
1 parent ba1fd91 commit bab6a1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/VaporFilesystem/Adapters/Local/LocalAdapter.swift
Expand Up @@ -11,11 +11,10 @@ open class LocalAdapter {

public let fileManager: FileManager
public let root: String

public let queueFactory: QueueFactory

#warning("TODO: Default attributes like file permissions etc.")
public init(fileManager: FileManager = .default, root: String, queueFactory: @escaping QueueFactory = LocalAdapter.defaultQueueFactory) {
public init(root: String, fileManager: FileManager = .default, queueFactory: @escaping QueueFactory = LocalAdapter.defaultQueueFactory) {
self.fileManager = fileManager
self.root = root
self.queueFactory = queueFactory
Expand Down

0 comments on commit bab6a1f

Please sign in to comment.