Skip to content

Commit c247364

Browse files
committed
Fix --ext argument
1 parent 4f2eae4 commit c247364

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

node/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [5.2.5]
4+
5+
### Bugfix
6+
7+
- CLI argument `--ext` was not working
8+
39
## [5.2.4]
410

511
### Bugfix

node/lib/retire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
var exports = exports || {};
7-
exports.version = '5.2.4';
7+
exports.version = '5.2.5';
88

99
function isDefined(o) {
1010
return typeof o !== 'undefined';

node/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Erlend Oftedal <[email protected]>",
33
"name": "retire",
44
"description": "Retire is a tool for detecting use of vulnerable libraries",
5-
"version": "5.2.4",
5+
"version": "5.2.5",
66
"license": "Apache-2.0",
77
"repository": {
88
"type": "git",

node/src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const config: Options = {
114114
verbose: !!prg.verbose,
115115
proxy: prg.proxy,
116116
deep: !!prg.deep,
117+
ext: prg.ext ?? 'js',
117118
};
118119

119120
log.info(`retire.js v${retire.version}`);

0 commit comments

Comments
 (0)