pull/5370/head
LianaHus 5 years ago
parent 6ae754da7a
commit e434cd0bf7
  1. 2
      src/lib/helper.js

@ -12,7 +12,7 @@ module.exports = {
return data.slice(0, 5) + '...' + data.slice(len - 5, len) return data.slice(0, 5) + '...' + data.slice(len - 5, len)
}, },
createNonClashingNameWithPrefix (name, fileProvider, prefix, cb) { createNonClashingNameWithPrefix (name, fileProvider, prefix, cb) {
if (name === '') name = 'Undefined' if (!name) name = 'Undefined'
var counter = '' var counter = ''
var ext = 'sol' var ext = 'sol'
var reg = /(.*)\.([^.]+)/g var reg = /(.*)\.([^.]+)/g

Loading…
Cancel
Save