From dcbfef26b1dfe73d89f6fb2c0315600bf83e01d7 Mon Sep 17 00:00:00 2001 From: Asiel Cabrera Date: Tue, 16 May 2023 23:57:44 -0400 Subject: [PATCH] dasda --- Sources/main.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/main.swift b/Sources/main.swift index d4b257e..d29afba 100644 --- a/Sources/main.swift +++ b/Sources/main.swift @@ -5,6 +5,7 @@ public struct Core { let defaultValue = options.defaultValue if let value = ProcessInfo.processInfo.environment[inputKey], !value.isEmpty { + print(value) return value } @@ -15,7 +16,7 @@ public struct Core { if options.required { fatalError("Input '\(name)' is required but not provided.") } - + print(value) return nil } @@ -58,4 +59,4 @@ public struct Core { } var input = Core.getInput(name: "myInput") -print(input ?? "test fallado") +print(input)