Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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