Skip to content

Commit

Permalink
deps: Upgrade vfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Jul 10, 2019
1 parent f111030 commit 4fd8552
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 42 deletions.
10 changes: 5 additions & 5 deletions __tests__/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1530,14 +1530,14 @@ exports[`html nested.input.js 1`] = `
"<!doctype html>
<html>
<head>
<meta charset='utf-8' />
<meta charset='utf-8'>
<title> | Documentation</title>
<meta name='description' content='a documentation generator'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' rel='stylesheet' />
<link href='assets/style.css' rel='stylesheet' />
<link href='assets/github.css' rel='stylesheet' />
<link href='assets/split.css' rel='stylesheet' />
<link href='assets/bass.css' rel='stylesheet'>
<link href='assets/style.css' rel='stylesheet'>
<link href='assets/github.css' rel='stylesheet'>
<link href='assets/split.css' rel='stylesheet'>
</head>
<body class='documentation m0'>
<div class='flex'>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"tiny-lr": "^1.1.0",
"unist-builder": "^1.0.2",
"unist-util-visit": "^1.3.0",
"vfile": "^3.0.0",
"vfile-reporter": "^5.0.0",
"vfile": "^4.0.0",
"vfile-reporter": "^6.0.0",
"vfile-sort": "^2.1.0",
"vinyl": "^2.1.0",
"vinyl-fs": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function formatLint(comments) {
new VFile({
path: p
});
vFiles[p].warn(error.message, {
vFiles[p].message(error.message, {
line: comment.loc.start.line + (error.commentLineNumber || 0)
});
});
Expand Down
Loading

0 comments on commit 4fd8552

Please sign in to comment.