Skip to content

Commit ea02406

Browse files
Fix broken Python invoke local for 3.12 and 3.13
1 parent 7cfe939 commit ea02406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugins/aws/invoke-local/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ class AwsInvokeLocal {
253253
);
254254
}
255255

256-
if (['python3.7', 'python3.8', 'python3.9', 'python3.10', 'python3.11'].includes(runtime)) {
256+
if (['python3.7', 'python3.8', 'python3.9', 'python3.10', 'python3.11', 'python3.12', 'python3.13'].includes(runtime)) {
257257
const handlerComponents = handler.split(/\./);
258258
const handlerPath = handlerComponents.slice(0, -1).join('.');
259259
const handlerName = handlerComponents.pop();

0 commit comments

Comments
 (0)