Skip to content

Commit 75d62b7

Browse files
committed
feat(enjoy-by): add before as an alias to enjoy-by
1 parent 3576476 commit 75d62b7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ even though npm itself does.
231231

232232
##### <a name="opts-enjoy-by"></a> `opts.enjoy-by`
233233

234-
* Alias: `opts.enjoyBy`
234+
* Alias: `opts.enjoyBy`, `opts.before`
235235
* Type: Date-able
236236
* Default: undefined
237237

lib/util/opt-check.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = figgyPudding({
1313
dmode: {},
1414
'enjoy-by': 'enjoyBy',
1515
enjoyBy: {},
16+
before: 'enjoyBy',
1617
fmode: {},
1718
'fetch-retries': { default: 2 },
1819
'fetch-retry-factor': { default: 10 },

0 commit comments

Comments
 (0)