F #3951: remove undefined var (#874)

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Miguel Lobo Escalona authored and GitHub committed 2021-02-24 17:30:21 +01:00
1 parent cfd346c354
commit e943e2496f
1 file changed
+1 -1
@@ -510,7 +510,7 @@ const createProvision = (res = {}, next = () => undefined, params = {}, userData
const close = (success, lastLine) => {
stream.end()
if (success && regexp.test(lastLine)) {
const newPath = renameFolder(config.path, lastLine.match('\\d+'), 'replace', removeConfigFile)
const newPath = renameFolder(config.path, lastLine.match('\\d+'), 'replace')
if (newPath) {
existsFile(
relFileYML,