Skip to content

Commit

Permalink
Remove configFile option in package command (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo authored and DeviaVir committed Jul 11, 2017
1 parent 9d45306 commit 49262c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion bin/node-lambda
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ program
AWS_ENVIRONMENT)
.option('-x, --excludeGlobs [' + EXCLUDE_GLOBS + ']',
'Space-separated glob pattern(s) for additional exclude files (e.g. "event.json dotenv.sample")', EXCLUDE_GLOBS)
.option('-f, --configFile [' + CONFIG_FILE + ']', '!!! Deprecated option in package command !!!', CONFIG_FILE)
.option('-D, --prebuiltDirectory [' + PREBUILT_DIRECTORY + ']', 'Prebuilt directory', PREBUILT_DIRECTORY)
.action((prg) => lambda.package(prg))

Expand Down
3 changes: 0 additions & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,9 +692,6 @@ Lambda.prototype._updateScheduleEvents = (scheduleEvents, functionArn, scheduleL
}

Lambda.prototype.package = function (program) {
if (program.configFile) {
console.warn('[Warning] -f, --configFile option of the `package` command is deprecated.')
}
const _this = this
if (!program.packageDirectory) {
throw new Error('packageDirectory not specified!')
Expand Down

0 comments on commit 49262c8

Please sign in to comment.