|
|
@ -197,7 +197,7 @@ global.online='ob'; |
|
|
|
console.log('File', path, 'has been added'); |
|
|
|
var pathfileval = pathmodule.basename(path); |
|
|
|
console.log('Filepath1 ', pathfileval, ' check'); |
|
|
|
var arrfile = str.toString().split("-"); |
|
|
|
var arrfile = pathfileval.toString().split("-"); |
|
|
|
var pathfile = arrfile[0]; |
|
|
|
console.log('Filepath ', pathfile, ' check'); |
|
|
|
// /var/lab/playground-serverlogs/ondemand_playgroundnodejs_masterJPMqt1Jr-RgpMZFwJ-log
|
|
|
|