1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

F #3951: remove undefined var (#874)

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Miguel Lobo Escalona 2021-02-24 17:30:21 +01:00 committed by GitHub
parent cfd346c354
commit e943e2496f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,