Skip to content

Commit f9899a0

Browse files
committed
add newline
1 parent 8211c8c commit f9899a0

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

scripts/msrv.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ RUST_VERSION=$1
1313
# Determine the directory containing the script
1414
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
1515

16-
echo "Current working directory: $(pwd)"
17-
1816
# Path to the configuration file
1917
CONFIG_FILE="$SCRIPT_DIR/msrv_config.json"
2018

2119
# Change to the root directory of the repository
2220
cd "$SCRIPT_DIR/.."
2321

22+
echo "Current working directory: $(pwd)"
23+
2424
# function to check if specified toolchain is installed
2525
check_rust_toolchain_installed() {
2626
local version=$1
@@ -48,11 +48,9 @@ else
4848
exit 1
4949
fi
5050

51-
echo "checking packages: "$packages
52-
echo
5351
# Check MSRV for the packages
5452
for package in $packages; do
5553
package=$(echo "$package" | tr -d '\r\n') # Remove any newline and carriage return characters
5654
echo "Command: rustup run \"$installed_version\" cargo check --manifest-path=\"$package\" --all-features"
5755
rustup run "$installed_version" cargo check --manifest-path=$package --all-features
58-
done
56+
done

scripts/msrv_config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
"opentelemetry-otlp/Cargo.toml",
1414
"opentelemetry-proto/Cargo.toml"
1515
]
16-
}
16+
}
17+

0 commit comments

Comments
 (0)