#!/bin/bash file_path=$(jq -r '.tool_input.file_path') if [[ "$file_path" =~ \.qml$ ]]; then qmlformat --inplace "$file_path" fi