File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Sources/SwiftJavaBootstrapJavaTool Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ final class SwiftJavaBootstrapJavaTool {
30
30
let out = Synchronization . Mutex< Data> ( Data ( ) )
31
31
let err = Synchronization . Mutex< Data> ( Data ( ) )
32
32
33
- static func main( ) async throws {
34
- try await SwiftJavaBootstrapJavaTool ( ) . run ( )
33
+ static func main( ) async {
34
+ await SwiftJavaBootstrapJavaTool ( ) . run ( )
35
35
}
36
36
37
- func run( ) async throws {
37
+ func run( ) async {
38
38
print ( " [debug][swift-java-bootstrap] RUN SwiftJavaBootstrapJavaTool: \( CommandLine . arguments. joined ( separator: " " ) ) " )
39
39
40
40
var args = CommandLine . arguments
@@ -51,7 +51,7 @@ final class SwiftJavaBootstrapJavaTool {
51
51
52
52
let configPathURL = URL ( fileURLWithPath: configPath)
53
53
print ( " [debug][swift-java-bootstrap] Load config: \( configPathURL. absoluteString) " )
54
- let config = try readConfiguration ( configPath: configPathURL)
54
+ let config = try ! readConfiguration ( configPath: configPathURL)
55
55
56
56
// We only support a single dependency right now.
57
57
let localGradleProjectDependencyName = ( config. dependencies ?? [ ] ) . filter {
@@ -60,7 +60,7 @@ final class SwiftJavaBootstrapJavaTool {
60
60
$0. artifactID
61
61
} . first!
62
62
63
- let process = try await Subprocess . run (
63
+ let process = try ! await Subprocess . run (
64
64
. at( " ./gradlew " ) ,
65
65
arguments: [
66
66
" --no-daemon " ,
You can’t perform that action at this time.
0 commit comments