From 7e30fc1d9b269f7f56ac5ccd1fb4161e027c9ce9 Mon Sep 17 00:00:00 2001 From: Bas Beuk <159245172+bas-reco@users.noreply.github.com> Date: Mon, 11 May 2026 10:21:14 +0200 Subject: [PATCH] Update file naming for onStart and onStop functions --- flow2src/flow2src.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow2src/flow2src.js b/flow2src/flow2src.js index 46dabef..9a32e2b 100644 --- a/flow2src/flow2src.js +++ b/flow2src/flow2src.js @@ -192,7 +192,7 @@ module.exports = function(RED) { // Record function On Start and On Stop too let onStartFile = file; ext = onStartFile.getRightMost('.'); - onStartFile = onStartFile.delRightMost('.') + '_initialize' + ext; + onStartFile = onStartFile.delRightMost('.') + '_initialize.' + ext; obj.srcFiles.push({ id: obj.id, property: 'initialize', @@ -201,7 +201,7 @@ module.exports = function(RED) { }); let onStopFile = file; ext = onStopFile.getRightMost('.'); - onStopFile = onStopFile.delRightMost('.') + '_finalize' + ext; + onStopFile = onStopFile.delRightMost('.') + '_finalize.' + ext; obj.srcFiles.push({ id: obj.id, property: 'finalize',