style: fix codacy

This commit is contained in:
Suraj Shetty 2019-10-31 15:14:37 +05:30 committed by GitHub
parent 9f9f76a010
commit 6b08730a09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -521,7 +521,7 @@ frappe.search.utils = {
// **Specific use-case step**
keywords = keywords || '';
var item = __(_item || '');
var item_without_hyphen = item.replace(/-/g, " ")
var item_without_hyphen = item.replace(/-/g, " ");
var item_length = item.length;
var query_length = keywords.length;