|
@ -196,6 +196,7 @@ global.online='ob'; |
|
|
.on('add', function(path) { |
|
|
.on('add', function(path) { |
|
|
console.log('File', path, 'has been added'); |
|
|
console.log('File', path, 'has been added'); |
|
|
var pathfileval = pathmodule.basename(path); |
|
|
var pathfileval = pathmodule.basename(path); |
|
|
|
|
|
console.log('Filepath1 ', pathfileval, ' check'); |
|
|
var arrfile = pathfileval.split("-").map(function (val) { |
|
|
var arrfile = pathfileval.split("-").map(function (val) { |
|
|
return Number(val) + 1; |
|
|
return Number(val) + 1; |
|
|
}); |
|
|
}); |
|
|