Skip to content

Commit

Permalink
bug: retain indentation formatting in migration script (PROJQUAY-8360)
Browse files Browse the repository at this point in the history
Signed-off-by: harishsurf <[email protected]>
  • Loading branch information
harishsurf committed Jan 2, 2025
1 parent e609475 commit 87df0bb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ pg_to_sqlite() {
# Remove empty lines
sql=$(echo "$sql" | sed "/^\s*$/d")

# Trim whitespace from the beginning and end
sql=$(echo "$sql" | sed 's/^[ \t]*//;s/[ \t]*$//')

# Write the output to the specified file
echo "$sql" > "$output_file"
}
Expand Down

0 comments on commit 87df0bb

Please sign in to comment.