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 ebc6413
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function processPath(path, config) {
const ignoreFilter = ignore({ allowRelativePaths: true }).add(config.excludedFiles)

const allFiles = glob.sync(path, { nodir: true })
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 ebc6413

Please sign in to comment.