Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzilong committed Jul 25, 2021
1 parent 44a7df4 commit f394855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const jsonService = require( 'vscode-json-languageservice' )
const chalk = require( 'chalk' )
const { locate } = require( './locate' )
const locate = require( './locate' )

const jsonServiceHandle = jsonService.getLanguageService( {} )

Expand Down
2 changes: 1 addition & 1 deletion lib/locate.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ function isNearErrorLine( line, locations ) {
return locations.some( l => ( Math.abs( l.line - line ) <= 2 ) )
}

exports.locate = locate
module.exports = locate

0 comments on commit f394855

Please sign in to comment.