Skip to content

Commit 2643f8e

Browse files
committed
refactor: add extra info in error message
1 parent ff6f47b commit 2643f8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rxjs-tslint",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"description": "TSLint rule for RxJS",
55
"main": "index.js",
66
"bin": {

src/rxjs-5-to-6-migrate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const migrate = () => {
2121
try {
2222
errors = execSync(command).toString() || '';
2323
} catch (e) {
24-
console.error(e.output.toString());
24+
console.error('Error whilee running the migration:', e.output.toString());
2525
process.exit(1);
2626
}
2727
if (errors.indexOf('WARNING:') >= 0) {

0 commit comments

Comments
 (0)