diff --git a/lib/findpath.js b/lib/findpath.js index e23cdc3..2e03fa3 100644 --- a/lib/findpath.js +++ b/lib/findpath.js @@ -7,7 +7,7 @@ import path from 'node:path'; * @param {'nwjs' | 'chromedriver'} executable Path to NW.js or Chromedriver executable. * @return {string} */ -function findpath(executable = 'nwjs') { +export function findpath(executable = 'nwjs') { const nwDir = path.resolve(__dirname, '..', 'nwjs'); /** * File path to executable. @@ -53,5 +53,3 @@ function findpath(executable = 'nwjs') { return binPath; } - -export default { findpath };