Skip to content

Commit

Permalink
Merge pull request #122 from Cyberbeni/config-public-init
Browse files Browse the repository at this point in the history
make config init public
  • Loading branch information
mono0926 authored Nov 29, 2019
2 parents 444b274 + 2ab220c commit 7156c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/LicensePlistCore/Entity/Config.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public struct Config {
self = Config(githubs: githubsVersion + gitHubList, manuals: manualList, excludes: excludes, renames: renames)
}

init(githubs: [GitHub], manuals: [Manual], excludes: [String], renames: [String: String]) {
public init(githubs: [GitHub], manuals: [Manual], excludes: [String], renames: [String: String]) {
self.githubs = githubs
self.manuals = manuals
self.excludes = excludes
Expand Down
2 changes: 1 addition & 1 deletion Sources/LicensePlistCore/Entity/Manual.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Manual: Library {
public var nameSpecified: String?
public var version: String?

init(name n: String, source: String?, nameSpecified: String?, version: String?) {
public init(name n: String, source: String?, nameSpecified: String?, version: String?) {
self.name = n
self.source = source
self.nameSpecified = nameSpecified
Expand Down

0 comments on commit 7156c16

Please sign in to comment.