Skip to content

Commit

Permalink
PR feedback, typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mlink committed Oct 17, 2023
1 parent 07ed3c8 commit 543e627
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `Subprocess` class can be used for command execution.

###### Input for data
```swift
let inputData: Data = "hello world".data(using: .utf8)!
let inputData = Data("hello world".utf8)
let data = try await Subprocess.data(for: ["/usr/bin/grep", "hello"], standardInput: inputData)
```
###### Input for text
Expand Down
2 changes: 1 addition & 1 deletion Sources/Subprocess/SubprocessDependencyBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public protocol SubprocessDependencyFactory {
public struct SubprocessDependencyBuilder: SubprocessDependencyFactory {
private static let queue = DispatchQueue(label: "\(Self.self)")
private static var _shared: any SubprocessDependencyFactory = SubprocessDependencyBuilder()
/// Shared instance used for dependency creatation
/// Shared instance used for dependency creation
public static var shared: any SubprocessDependencyFactory {
get {
queue.sync {
Expand Down
2 changes: 1 addition & 1 deletion Subprocess.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pod::Spec.new do |s|
Everything related to creating processes and running shell commands on macOS.
DESC
s.homepage = 'https://github.com/jamf/Subprocess'
s.authors = { 'Cyrus Ingraham' => '[email protected]', 'Michael Link' => '[email protected]' }
s.authors = { 'Michael Link' => '[email protected]' }
s.source = { :git => "https://github.com/jamf/Subprocess.git", :tag => s.version.to_s }
s.platform = :osx, '10.15.4'
s.osx.deployment_target = '10.15.4'
Expand Down

0 comments on commit 543e627

Please sign in to comment.