diff --git a/benchmark/napi/function_args/index.js b/benchmark/napi/function_args/index.js index c8f281a3429fde..4beab531c17301 100644 --- a/benchmark/napi/function_args/index.js +++ b/benchmark/napi/function_args/index.js @@ -12,16 +12,14 @@ let napi; try { v8 = require('./build/Release/binding'); } catch (err) { - // eslint-disable-next-line no-path-concat - console.error(__filename + ': V8 Binding failed to load'); + console.error(`${__filename}: V8 Binding failed to load`); process.exit(0); } try { napi = require('./build/Release/napi_binding'); } catch (err) { - // eslint-disable-next-line no-path-concat - console.error(__filename + ': NAPI-Binding failed to load'); + console.error(`${__filename}: NAPI-Binding failed to load`); process.exit(0); }