12 Commits

Author SHA1 Message Date
Nate Fischer
9c7e6a892a refactor: add wrapOutput option to auto-ShellString-ify command output (#481) 2016-07-24 18:20:36 -07:00
Nate Fischer
3951a87913 refactor: commands now register themselves (#475) 2016-07-21 17:37:11 -07:00
Nate Fischer
5bcbc619e4 feat: adding error codes to ShellJS 2016-03-15 19:21:08 -07:00
Nate Fischer
6ebc2d3db7 refactor(shellstring): return consistent objects
- fix(string): no longer overrides string prototype
 - exec() now returns a ShellString object
2016-02-19 14:54:30 -08:00
Isiah Meadows
eaa771033e Search PATHEXT for which, do a lowercase comparison on Windows
Redo of #134

`which` now searches through PATHEXT on Windows, and it also now does a
case-insensitive comparison. This better fits the Windows environment, where
the OS usually ignores case.
2016-01-29 13:34:20 -05:00
Nate Fischer
900384bda8 Now runs jshint on the src/ folder. This fixes the pre-existing lint issues 2016-01-19 00:25:21 -08:00
Tingluo Huang
9ca9b6144a Make sure Which() on Windows platform always return the command with extension. 2016-01-13 15:03:17 -05:00
Mike Frawley
83d8d4d527 remove empty for loop and leaked i var 2014-11-12 10:15:20 -06:00
Rafal Lindemann
16c0c4dcdc which should only find files, not directories 2014-03-05 23:16:58 +01:00
Artur Adib
21f721cb45 more stringent jshint; catch leaks/undefs 2013-09-21 10:12:28 -04:00
Artur Adib
561b1ea99c factoring docs, sed.js fix 2013-08-25 18:09:31 -04:00
Artur Adib
02df7985fd which 2013-08-25 16:23:31 -04:00