Skip to content

Commit aeaf14a

Browse files
committed
[feat]: shell func public
1 parent 9fe5659 commit aeaf14a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ScriptToolkit/ScriptToolkit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public func matches(for regex: String, in text: String) -> [String] {
6464
}
6565

6666
/// Run shell command in bash
67-
@discardableResult func shell(_ command: String) -> String {
67+
@discardableResult public func shell(_ command: String) -> String {
6868
let task = Process()
6969
let pipe = Pipe()
7070

0 commit comments

Comments
 (0)