Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bmakr
Copy link

@bmakr bmakr commented Aug 23, 2018

@jkrup I've added some code that I need to change the project name in the env variables. Please let me know if this is something that works for you. Thanks. B

@bmakr
Copy link
Author

bmakr commented Aug 23, 2018

@jkrup This is also a bit of a test for my next project: to pass additional options like now.features.cloud

So, let me know if this initial pull request works for you (and if I did everything correctly)


export const getProjectName = async () => {
const environmentVariables = await getEnvironmentVariables();
return getEnvironmentVariable('PROJECT_NAME', environmentVariables)
Copy link
Owner

@jkrup jkrup Aug 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing semicolon ; here (you can run npm run lint to catch this stuff easily)

Copy link
Owner

@jkrup jkrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks so much for the contribution. There's just that one linter error.

Also, before merging, we'll want to edit the README.md to include information about this new flag. I can probably get to that later this week, but if you'd like to do that as well that'd be fantastic.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants