Skip to content
This repository was archived by the owner on Feb 10, 2020. It is now read-only.

Commit a0ba89f

Browse files
committed
Only report errors, display complete md file path
1 parent 2164249 commit a0ba89f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lint-polymer": "polymer lint -i src/*.html -i src/elements/*",
2121
"lint-style": "npm-run-all lint-style-*",
2222
"lint-style-html": "stylelint 'src/**/*.html' --extract",
23-
"lint-content": "mocha",
23+
"lint-content": "mocha -R dot",
2424
"polymer": "./bin/polymer",
2525
"polymer-build": "npm-run-all 'polymer build {@}' --",
2626
"polymer-lint": "npm-run-all 'polymer lint {@}' --",

test/lint-metadata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var required_keys = [ 'id',
1515
var files = find.fileSync(/\.md$/,"tutorials");
1616
for(var i=0, len=files.length; i < len; i++){
1717
var f = gm.read(files[i]);
18-
validate(f, files[i].split("/").slice(-1)[0]);
18+
validate(f, files[i]);
1919
}
2020

2121
// Validates metadata for each tutorial

0 commit comments

Comments
 (0)