refactor: Add lint rule for unsafe property access with lodash get/set (no-changelog) (#8587)
This commit is contained in:
@@ -2548,7 +2548,7 @@ const addExecutionDataFunctions = async (
|
||||
runExecutionData.executionData!.metadata = {};
|
||||
}
|
||||
|
||||
let sourceTaskData = get(runExecutionData, `executionData.metadata[${sourceNodeName}]`);
|
||||
let sourceTaskData = get(runExecutionData, ['executionData', 'metadata', sourceNodeName]);
|
||||
|
||||
if (!sourceTaskData) {
|
||||
runExecutionData.executionData!.metadata[sourceNodeName] = [];
|
||||
|
||||
Reference in New Issue
Block a user