Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 15, 2021
1 parent 4e8d0b4 commit 30451ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/packages/demo-loader/demo-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function keyToJSIdentifier(key) {
/**
* @type {import('webpack').loader.Loader}
*/
module.exports = function demoLoader(source) {
module.exports = function demoLoader() {
const pageFilename = this.context.replace(this.rootContext, '').replace(/^\/src\/pages\//, '');
const rawKeys = fse.readdirSync(path.dirname(this.resourcePath));
const demoKeys = rawKeys.filter((basename) => {
Expand Down

0 comments on commit 30451ee

Please sign in to comment.