Skip to content

Commit

Permalink
.dir => .directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kevva committed Jun 17, 2017
1 parent c439e23 commit 0381072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const tempfile = require('tempfile');

const exec = (cmd, cwd) => pMapSeries(cmd, x => execa.shell(x, {cwd}));

exports.dir = (dir, cmd) => {
exports.directory = (dir, cmd) => {
if (typeof dir !== 'string') {
return Promise.reject(new TypeError(`Expected a \`string\`, got \`${typeof dir}\``));
}
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ binBuild.file('gifsicle-1.80.tar.gz', [

## API

### binBuild.dir(dir, commands)
### binBuild.directory(directory, commands)

#### dir
#### directory

Type: `string`

Expand Down

0 comments on commit 0381072

Please sign in to comment.