1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-19 04:21:14 +00:00
Joseph Frazier bf109ee548 Extend yarn_alias rule to handle package.json scripts
For example, if an "etl" script is defined in package.json, it can be
run with `yarn etl`. However, if `yarn etil` is run, `yarn` will
suggest the correction. This change lets `thefuck` take advantage of
that:

    $ yarn etil
    yarn etil v0.21.3
    error Command "etil" not found. Did you mean "etl"?
    $ fuck
    yarn etl [enter/?/?/ctrl+c]
2017-03-22 16:52:30 -04:00
..
2016-09-29 14:22:08 -07:00
2016-04-11 16:13:41 +03:00
2015-10-17 18:40:53 -03:00
2017-03-13 13:53:43 +01:00
2015-11-15 18:02:37 +01:00
2015-11-15 18:02:37 +01:00
2015-11-15 18:02:37 +01:00
2015-10-18 19:49:46 -02:00
2017-03-13 13:30:07 +01:00