Skip to content

Commit

Permalink
chore(index): rename const to reflect functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Nov 10, 2020
1 parent 643ee09 commit a0624e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const path = require('path');
const { execFile } = require('child_process');
const util = require('util');

const execFileSync = util.promisify(execFile);
const execFileAsync = util.promisify(execFile);
const platform = os.platform();

/**
Expand Down Expand Up @@ -118,7 +118,7 @@ class UnRTF {
const args = await parseOptions(options, acceptedOptions);
args.push(file);

const { stdout } = await execFileSync(
const { stdout } = await execFileAsync(
path.join(this.unrtfPath, 'unrtf'),
args
);
Expand Down

0 comments on commit a0624e9

Please sign in to comment.