Skip to content

Commit

Permalink
fix: disable format in sync
Browse files Browse the repository at this point in the history
  • Loading branch information
vinckr committed Jul 20, 2023
1 parent a8672f3 commit b865d18
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function replicate_all {
replicate ory/closed-reference-notifier action "Closed Reference Notifier" "$workspace" "$persist"
replicate ory/label-sync-action action "Label Sync Action" "$workspace" "$persist"
replicate ory/milestone-action action "Milestone Action" "$workspace" "$persist"
replicate ory/prettier-styles action "Prettier Styles" "$workspace" "$persist"
# replicate ory/prettier-styles action "Prettier Styles" "$workspace" "$persist"
replicate ory/build-buf-action action "Buildbuf Action" "$workspace" "$persist"
replicate ory/examples library "Examples" "$workspace" "$persist"
replicate ory/hydra-maester library "Ory Hydra Maester" "$workspace" "$persist"
Expand Down Expand Up @@ -128,9 +128,9 @@ function replicate {
fi
add_adopters_to_readme "$repo_path"
add_ecosystem_to_readme "$repo_path"
if test -f package.json; then
format "$repo_path"
fi
# if test -f package.json; then
# format "$repo_path"
# fi

# optionally commit
if [ "$persist" == "commit" ] || [ "$persist" == "push" ]; then
Expand Down Expand Up @@ -237,14 +237,14 @@ function create_workspace {
mktemp -d
}

function format {
header "FORMATTING"
local -r repo_path=$1
(
cd "$repo_path"
npx prettier --write "*.md" .github
)
}
# function format {
# header "FORMATTING"
# local -r repo_path=$1
# (
# cd "$repo_path"
# npx prettier --write "*.md" .github
# )
# }

function install_dependencies_on_ci {
header "INSTALLING DEPENDENCIES"
Expand Down

0 comments on commit b865d18

Please sign in to comment.