Skip to content

Commit

Permalink
Temporary commit to debug issue on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed Feb 27, 2023
1 parent 1025f3b commit 93b070f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ function processFile(file, config) {
function processPath(path, config) {
const ignoreFilter = ignore({ allowRelativePaths: true }).add(config.excludedFiles)

const allFiles = glob.sync(path, { nodir: true })
const allFiles = glob.sync(path)
console.log('allFiles', allFiles)
const files = ignoreFilter.filter(allFiles)

return files.map((curFile) => processFile(curFile, config))
Expand Down
3 changes: 2 additions & 1 deletion test/rules/miscellaneous/quotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ describe('Linter - quotes', () => {
assert.equal(report.filePath, filePath)
})

it('should raise one error', () => {
it.only('should raise one error', () => {
const filePath = storeAsFile(contractWith("string private a = 'test';"))
console.log('filePath', filePath)

const reports = linter.processPath(filePath, {
rules: { quotes: 'error' },
Expand Down

0 comments on commit 93b070f

Please sign in to comment.