File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ tasks.withType<Test>().configureEach {
4040
4141val ktfmt by configurations.creating
4242dependencies {
43- ktfmt(" com.facebook:ktfmt:0.56 " )
43+ ktfmt(" com.facebook:ktfmt:0.61 " )
4444}
4545
4646fun registerKtfmt (
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ if [ ! -f "$FILE_LIST" ]; then
2424 exit 1
2525fi
2626
27- if ! command -v ktfmt-fast-format & > /dev/null; then
28- echo " Error: ktfmt-fast-format not found"
27+ if ! command -v ktfmt & > /dev/null; then
28+ echo " Error: ktfmt not found"
2929 exit 1
3030fi
3131
@@ -36,7 +36,7 @@ echo "==> Done looking for Kotlin files"
3636
3737if [[ -n " $kt_files " ]]; then
3838 echo " ==> will format Kotlin files"
39- echo " $kt_files " | tr ' \n' ' \0' | xargs -0 ktfmt-fast-format --kotlinlang-style " $@ "
39+ echo " $kt_files " | tr ' \n' ' \0' | xargs -0 ktfmt --kotlinlang-style " $@ "
4040else
4141 echo " No Kotlin files to format -- expected outcome during incremental formatting"
4242fi
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}"
2222# Run steady mock on the given spec
2323if [ " $1 " == " --daemon" ]; then
2424 # Pre-install the package so the download doesn't eat into the startup timeout
25- npm exec --package=@stdy/cli@0.19.3 -- steady --version
25+ npm exec --package=@stdy/cli@0.19.4 -- steady --version
2626
27- npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets " $URL " & > .stdy.log &
27+ npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator- query-array-format=brackets --validator-form-object -format=brackets --validator-query-object-format=brackets " $URL " & > .stdy.log &
2828
2929 # Wait for server to come online via health endpoint (max 30s)
3030 echo -n " Waiting for server"
@@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then
4848
4949 echo
5050else
51- npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets " $URL "
51+ npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator- query-array-format=brackets --validator-form-object -format=brackets --validator-query-object-format=brackets " $URL "
5252fi
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ elif ! steady_is_running ; then
4343 echo -e " To run the server, pass in the path or url of your OpenAPI"
4444 echo -e " spec to the steady command:"
4545 echo
46- echo -e " \$ ${YELLOW} npm exec --package=@stdy/cli@0.19.3 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets${NC} "
46+ echo -e " \$ ${YELLOW} npm exec --package=@stdy/cli@0.19.4 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator- query-array-format=brackets --validator-form-object -format=brackets --validator-query-object-format=brackets${NC} "
4747 echo
4848
4949 exit 1
You can’t perform that action at this time.
0 commit comments