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)
},
createNonClashingNameWithPrefix (name, fileProvider, prefix, cb) {
if (name === '') name = 'Undefined'
if (!name) name = 'Undefined'
var counter = ''
var ext = 'sol'
var reg = /(.*)\.([^.]+)/g

Loading…
Cancel
Save