@lingk/sync 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -272,12 +272,12 @@ module.exports =
272
272
  complete: function complete(result) {
273
273
  meta = meta.concat({
274
274
  name: file.name,
275
- type: file.name.substr(0, file.name.lastIndexOf('.')).split(' ').join(),
275
+ type: file.name, //.substr(0, file.name.lastIndexOf('.')).split(' ').join(),
276
276
  byteSize: file.size,
277
277
  properties: result.meta.fields.map(function (f) {
278
278
  return {
279
279
  label: f,
280
- name: f.split(' ').join(),
280
+ name: f, //.split(' ').join(),
281
281
  type: result.data[0] && _typeof(result.data[0][f])
282
282
  };
283
283
  }),