diff --git a/diff-generator/lambda_function.py b/diff-generator/lambda_function.py index d75c746..7989c84 100644 --- a/diff-generator/lambda_function.py +++ b/diff-generator/lambda_function.py @@ -33,6 +33,8 @@ def generate_unified_diff(vcls): for address in vcls: vcl = vcls[address] before = vcl['before'] + if 'after' not in vcl: + continue after = vcl['after'] diff_gen = unified_diff( before.split("\n"),