serverless / components

The Serverless Framework's new infrastructure provisioning technology — Build, compose, & deploy serverless apps in seconds...
https://www.serverless.com
Apache License 2.0
2.31k stars 182 forks source link

fix: check invalid inline comments in env file #898

Closed zongUMR closed 3 years ago

zongUMR commented 3 years ago

What has been implemented?

Closes https://github.com/serverless/roadmap-tencent/issues/787

Currently, the dotenv can not remove # inline comment in the env file: https://github.com/motdotla/dotenv/issues/484, which will cause error when users use inline comments. This PR will check this situation and throw an message.

Question: Is it possible that the value in the env file itself contains the # symbol?