diff --git a/CodeChanges/ReplaceAwaitResultWithResult.sh b/CodeChanges/ReplaceAwaitResultWithResult.sh new file mode 100755 index 0000000..a3e8cca --- /dev/null +++ b/CodeChanges/ReplaceAwaitResultWithResult.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# Replace .AwaitResult() with .Result in all .cs files +# This handles cases with or without spaces around the dot operator +find . -type f -name "*.cs" -exec sed -i 's/\.\s*AwaitResult\s*()/.Result/g' {} \;