Added logging.
This commit is contained in:
@@ -24,7 +24,7 @@ add_or_remove_nuget_source() {
|
|||||||
# Function to add/remove NuGet sources
|
# Function to add/remove NuGet sources
|
||||||
handle_nuget_sources() {
|
handle_nuget_sources() {
|
||||||
local action="${1:-add}" # Default to 'add', can be 'remove'
|
local action="${1:-add}" # Default to 'add', can be 'remove'
|
||||||
|
echo "Updating NuGet sources with action: $action"
|
||||||
if [[ -n "$NUGET_SOURCES" ]]; then
|
if [[ -n "$NUGET_SOURCES" ]]; then
|
||||||
# Split sources, usernames, and passwords on newlines
|
# Split sources, usernames, and passwords on newlines
|
||||||
IFS=$'\n' read -rd '' -a sources <<< "$NUGET_SOURCES"
|
IFS=$'\n' read -rd '' -a sources <<< "$NUGET_SOURCES"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ add_or_remove_nuget_source() {
|
|||||||
# Function to add/remove NuGet sources
|
# Function to add/remove NuGet sources
|
||||||
handle_nuget_sources() {
|
handle_nuget_sources() {
|
||||||
local action="${1:-add}" # Default to 'add', can be 'remove'
|
local action="${1:-add}" # Default to 'add', can be 'remove'
|
||||||
|
echo "Updating NuGet sources with action: $action"
|
||||||
if [[ -n "$NUGET_SOURCES" ]]; then
|
if [[ -n "$NUGET_SOURCES" ]]; then
|
||||||
# Split sources, usernames, and passwords on newlines
|
# Split sources, usernames, and passwords on newlines
|
||||||
IFS=$'\n' read -rd '' -a sources <<< "$NUGET_SOURCES"
|
IFS=$'\n' read -rd '' -a sources <<< "$NUGET_SOURCES"
|
||||||
|
|||||||
Reference in New Issue
Block a user