From 0749d012062fef9fd2d8ffeed32c7ac041ad8323 Mon Sep 17 00:00:00 2001
From: Ben Busby <contact@benbusby.com>
Date: Mon, 1 Aug 2022 22:20:51 -0600
Subject: [PATCH] Add missing flag for sed replacement in update workflow

---
 .github/workflows/update-instances.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml
index 69dcea4..197b973 100644
--- a/.github/workflows/update-instances.yml
+++ b/.github/workflows/update-instances.yml
@@ -48,7 +48,7 @@ jobs:
           done <$file
 
           # Remove any trailing commas from new instance lists
-          sed -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json
+          sed -i -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json
 
           cat out.json | jq --indent 2 . > services.json
           rm -f out.json