watson-developer-cloud/assistant-with-discovery-openwhisk

Failed during sh create-openwhisk-actions.sh

Closed this issue ยท 5 comments

Hi, got this error while running sh create-openwhisk-actions.sh
create-openwhisk-actions.sh: line 1: source: .env: file not found
I do have an env file generated in the instructions before.

Are you running Windows? Mac? What are the steps you followed to get to that error message?

Hello @germanattanasio!
I added a ./ before the .env in shell script and it worked.
create-openwhisk-actions.sh source ./.env;
Using Windows 10.
Cheers! ๐Ÿ‘

@JotaRaffalli do you mind creating a Pull Request with your fix? I think it will help others.

Sure thing!

๐ŸŽ‰ This issue has been resolved in version 1.0.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€