浏览代码

Fix lint errors.

Lauri Ojansivu 4 年之前
父节点
当前提交
c7f260d030
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -650,7 +650,7 @@ Cards.helpers({
 
     // match right definition to each field
     if (!this.customFields) return [];
-    let ret = this.customFields.map(customField => {
+    const ret = this.customFields.map(customField => {
       const definition = definitions.find(definition => {
         return definition._id === customField._id;
       });