Skip to content

Commit

Permalink
fix: findpath import
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Mar 9, 2024
1 parent 293ff20 commit 60fca78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/findpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -53,5 +53,3 @@ function findpath(executable = 'nwjs') {

return binPath;
}

export default { findpath };

0 comments on commit 60fca78

Please sign in to comment.