Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when using package command with custom .env file #90

Merged
merged 9 commits into from
Apr 22, 2016

Conversation

DeviaVir
Copy link
Collaborator

We need to know the handler in case we have a configFile.

Fixes #88

Error:

node-lambda/lib/main.js:267
  var handlerFileName = codeDirectory + '/' + program.handler.split('.').shift() + '.js';

TypeError: Cannot read property 'split' of undefined

@DeviaVir DeviaVir mentioned this pull request Apr 22, 2016
@DeviaVir DeviaVir merged commit 1d0ba47 into motdotla:master Apr 22, 2016
@DeviaVir DeviaVir deleted the hotfix/package branch April 22, 2016 21:49
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.

1 participant