Skip to content

Commit

Permalink
Resolve path
Browse files Browse the repository at this point in the history
  • Loading branch information
ddamato committed Jun 25, 2020
1 parent 052ce22 commit e539b3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/create-symbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ const path = require('path');
const fs = require('fs-extra');
const minimist = require('minimist');
const esmImport = require('esm')(module);
const createSymbols = esmImport('../src/createSymbols.js').default;
const fnPath = path.resolve(__dirname, '..', 'src', 'createSymbols.js');
const createSymbols = esmImport(fnPath).default;

const args = minimist(process.argv.slice(2), {
string: ['input', 'output', 'type'],
Expand Down

0 comments on commit e539b3d

Please sign in to comment.