Skip to content

Commit

Permalink
[Refactor] sync: add function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 22, 2020
1 parent 163f9da commit 7b80058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var getPackageCandidates = function getPackageCandidates(x, start, opts) {
return dirs;
};

module.exports = function (x, options) {
module.exports = function resolveSync(x, options) {
if (typeof x !== 'string') {
throw new TypeError('Path must be a string.');
}
Expand Down

0 comments on commit 7b80058

Please sign in to comment.