We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a04d49e commit 0d664d8Copy full SHA for 0d664d8
src/bin/addAssertions.js
@@ -36,7 +36,7 @@ const formatCodeSnippet = (setup) => {
36
};
37
38
const getAssertions = () => {
39
- const assertionFiles = glob.sync(path.resolve(__dirname, './../tests/rules/assertions/*.js'));
+ const assertionFiles = glob.sync(path.resolve(__dirname, '../../tests/rules/assertions/*.js'));
40
41
const assertionNames = _.map(assertionFiles, (filePath) => {
42
return path.basename(filePath, '.js');
@@ -56,7 +56,7 @@ const getAssertions = () => {
56
57
58
const updateDocuments = (assertions) => {
59
- const readmeDocumentPath = path.join(__dirname, './../README.md');
+ const readmeDocumentPath = path.join(__dirname, '../../README.md');
60
let documentBody;
61
62
documentBody = fs.readFileSync(readmeDocumentPath, 'utf8');
0 commit comments