소스 검색

fix: puglint path

NGPixel 7 년 전
부모
커밋
8da98ce75a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/lint.js

+ 1 - 1
test/lint.js

@@ -69,7 +69,7 @@ describe('Code Linting', () => {
   it('should pass PugLint validation', () => {
     const PugLint = require('pug-lint')
     const lint = new PugLint()
-    const pugConfig = fs.readJsonSync('tools/.pug-lintrc.json')
+    const pugConfig = fs.readJsonSync('tools/pug-lintrc.json')
     lint.configure(pugConfig)
     let report = lint.checkPath('./server/views')
     expect(report).toPugLint()