Skip to content

Commit 7b80058

Browse files
committed
[Refactor] sync: add function name
1 parent 163f9da commit 7b80058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var getPackageCandidates = function getPackageCandidates(x, start, opts) {
4646
return dirs;
4747
};
4848

49-
module.exports = function (x, options) {
49+
module.exports = function resolveSync(x, options) {
5050
if (typeof x !== 'string') {
5151
throw new TypeError('Path must be a string.');
5252
}

0 commit comments

Comments
 (0)