Eslint review, round 1 (#58168)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
import * as github from '@actions/github'
|
||||
import github from '@actions/github'
|
||||
import core from '@actions/core'
|
||||
import { program } from 'commander'
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ describe('data-directory', () => {
|
||||
})
|
||||
|
||||
test('option: preprocess function', async () => {
|
||||
const preprocess = function (content: string) {
|
||||
function preprocess(content: string) {
|
||||
return content.replace('markdown', 'MARKDOWN')
|
||||
}
|
||||
const data = dataDirectory(fixturesDir, { preprocess })
|
||||
|
||||
Reference in New Issue
Block a user