This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git
The following commit(s) were added to refs/heads/main by this push:
new 6f0f3d6 Update opsfile.yml
6f0f3d6 is described below
commit 6f0f3d63f0eca99cfbde91733afa03ee8fd32433
Author: Michele Sciabarra <[email protected]>
AuthorDate: Mon May 12 05:00:23 2025 +0100
Update opsfile.yml
---
ide/opsfile.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ide/opsfile.yml b/ide/opsfile.yml
index 790bcb3..e2f8a9e 100644
--- a/ide/opsfile.yml
+++ b/ide/opsfile.yml
@@ -114,11 +114,13 @@ tasks:
if test -z "{{._apihost_}}"
then echo -n "Enter Apihost: "
read OPSDEV_APIHOST
+ OPSDEV_APIHOST="$(echo $OPSDEV_APIHOST | tr -d '\r')"
else OPSDEV_APIHOST="{{._apihost_}}"
fi
if test -z "{{._username_}}"
then echo -n "Enter Username: "
read OPSDEV_USERNAME
+ OPSDEV_USERNAME="$(echo $OPSDEV_USERNAME | tr -d '\r')"
else OPSDEV_USERNAME="{{._username_}}"
fi
echo apihost=$OPSDEV_APIHOST username=$OPSDEV_USERNAME
@@ -286,4 +288,4 @@ tasks:
desc: python subcommand
nodejs:
- desc: nodejs subcommand
\ No newline at end of file
+ desc: nodejs subcommand