|
@ -197,7 +197,7 @@ global.online='ob'; |
|
|
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'); |
|
|
console.log('Filepath1 ', pathfileval, ' check'); |
|
|
var arrfile = str.toString().split("-"); |
|
|
var arrfile = pathfileval.toString().split("-"); |
|
|
var pathfile = arrfile[0]; |
|
|
var pathfile = arrfile[0]; |
|
|
console.log('Filepath ', pathfile, ' check'); |
|
|
console.log('Filepath ', pathfile, ' check'); |
|
|
// /var/lab/playground-serverlogs/ondemand_playgroundnodejs_masterJPMqt1Jr-RgpMZFwJ-log
|
|
|
// /var/lab/playground-serverlogs/ondemand_playgroundnodejs_masterJPMqt1Jr-RgpMZFwJ-log
|
|
|