Skip to content

Commit

Permalink
Fix linting error with 'import' keyword (#3929)
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Nov 20, 2023
1 parent 215b763 commit a832789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module.exports = {
{
files: ["tools/**/*.js"],
parserOptions: {
ecmaVersion: 2018
ecmaVersion: 2020
},
rules: {
camelcase: "off"
Expand Down
2 changes: 1 addition & 1 deletion tools/lib/makestuff.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const _ = require('lodash');
const config = require("../build_config.js");

async function clean(directory) {
let del = await import('del');
const del = await import('del');
del.deleteSync([directory]);
fs.mkdirSync(directory, { recursive: true });
}
Expand Down

0 comments on commit a832789

Please sign in to comment.