Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit d263c33

Browse files
committed
Merge pull request #68 from AtomLinter/fix-execNode
Use exec instead of execNode
2 parents 7bac877 + fb88210 commit d263c33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use babel';
22

33
import * as path from 'path';
4-
import { execNode, find, rangeFromLineNumber } from 'atom-linter';
4+
import { exec, find, rangeFromLineNumber } from 'atom-linter';
55

66
const GRAMMAR_SCOPES = [
77
'text.html.angular',
@@ -57,7 +57,7 @@ export function provideLinter() {
5757
parameters.push(htmlhintrc);
5858
}
5959

60-
return execNode(executablePath, parameters, {}).then(output => {
60+
return exec(executablePath, parameters, {}).then(output => {
6161
const results = JSON.parse(output);
6262

6363
if (!results.length) {

0 commit comments

Comments
 (0)