File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const formatCodeSnippet = (setup) => {
36
36
} ;
37
37
38
38
const getAssertions = ( ) => {
39
- const assertionFiles = glob . sync ( path . resolve ( __dirname , './../tests/rules/assertions/*.js' ) ) ;
39
+ const assertionFiles = glob . sync ( path . resolve ( __dirname , '.. /../tests/rules/assertions/*.js' ) ) ;
40
40
41
41
const assertionNames = _ . map ( assertionFiles , ( filePath ) => {
42
42
return path . basename ( filePath , '.js' ) ;
@@ -56,7 +56,7 @@ const getAssertions = () => {
56
56
} ;
57
57
58
58
const updateDocuments = ( assertions ) => {
59
- const readmeDocumentPath = path . join ( __dirname , './../README.md' ) ;
59
+ const readmeDocumentPath = path . join ( __dirname , '.. /../README.md' ) ;
60
60
let documentBody ;
61
61
62
62
documentBody = fs . readFileSync ( readmeDocumentPath , 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments