Download:
child 258:cbed3b988414
parent 256:86910486a6d1
257:0d156765e13f
Anton Shestakov <av6@dwimlabs.net>, Sun, 04 Dec 2016 14:33:27 +0800
linters: make use of ampersand in sed expression

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
linters/jshint.yml file | annotate | diff | comparison | revisions
--- a/linters/jshint.yml Sun Nov 27 15:18:05 2016 +0800
+++ b/linters/jshint.yml Sun Dec 04 14:33:27 2016 +0800
@@ -1,6 +1,6 @@
setup:
- ['npm', '--prefix', '../', 'install', 'jshint']
- - ['sed', '-i', '-e', 's@^#!/usr/bin/env node$@#!/usr/bin/env nodejs@', '../node_modules/jshint/bin/jshint']
+ - ['sed', '-i', '-e', 's@^#!/usr/bin/env node$@&js@', '../node_modules/jshint/bin/jshint']
exec: ['../node_modules/jshint/bin/jshint']
codes: [2]