use generateUidIdentifier instead of generateUid
This commit is contained in:
@@ -65,7 +65,7 @@ exports.getUid = function (parent, file) {
|
||||
|
||||
if (t.isIdentifier(node)) id = node.name;
|
||||
|
||||
return t.identifier(file.generateUid(id));
|
||||
return file.generateUidIdentifier(id);
|
||||
};
|
||||
|
||||
exports.isAbsolute = function (loc) {
|
||||
|
||||
Reference in New Issue
Block a user