Skip to content

Commit

Permalink
Set environment variable for github-token in default
Browse files Browse the repository at this point in the history
  • Loading branch information
417-72KI committed Oct 7, 2019
1 parent a1a0bcd commit d08c4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LicensePlist/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let main = command(Option("cartfile-path", default: Consts.cartfileName),
podsPath: URL(fileURLWithPath: podsPath),
packagePath: URL(fileURLWithPath: packagePath),
prefix: prefix,
gitHubToken: gitHubToken.isEmpty ? nil : gitHubToken,
gitHubToken: gitHubToken.isEmpty ? ProcessInfo.processInfo.environment["LICENSE_PLIST_GITHUB_TOKEN"] : gitHubToken,
htmlPath: htmlPath.isEmpty ? nil : URL(fileURLWithPath: htmlPath),
markdownPath: markdownPath.isEmpty ? nil : URL(fileURLWithPath: markdownPath),
config: config)
Expand Down

0 comments on commit d08c4a0

Please sign in to comment.