Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 6, 2025
1 parent 86da582 commit 6a6773e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ function load() {
try {
return require('../build/Release/mongocrypt.node');
} catch {
console.error('Could not load the native module mongocrypt.node');
// eslint-disable-next-line no-console
console.log('Could not load the native module mongocrypt.node');
}
}

Expand Down
1 change: 1 addition & 0 deletions test/bundling/webpack/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { MongoCrypt } from 'mongodb-client-encryption';

// eslint-disable-next-line no-console
console.log(new MongoCrypt({}));
9 changes: 0 additions & 9 deletions test/bundling/webpack/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Generated using webpack-cli https://github.com/webpack/webpack-cli
'use strict';

const path = require('path');

const isProduction = process.env.NODE_ENV === 'production';
Expand All @@ -10,10 +7,6 @@ const config = {
output: {
path: path.resolve(__dirname, 'dist')
},
plugins: [
// Add your plugins here
// Learn more about plugins from https://webpack.js.org/configuration/plugins/
],
experiments: { topLevelAwait: true },
target: 'node',
module: {
Expand All @@ -27,8 +20,6 @@ const config = {
test: /\.node$/i,
loader: 'node-loader'
}
// Add your rules for custom modules here
// Learn more about loaders from https://webpack.js.org/loaders/
]
},
resolve: {
Expand Down

0 comments on commit 6a6773e

Please sign in to comment.