Skip to content

Commit b646476

Browse files
committed
fix: error if user tries to use --py with cpp artifact
1 parent 0c3a66a commit b646476

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/rapids-artifact-name

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ if (( pure_flag == 1 && py_flag == 1 )); then
104104
exit 1
105105
fi
106106

107-
if [[ "${pkg_lang}" == "cpp" ]] && (( stable_flag == 1 || pure_flag == 1 )); then
108-
rapids-echo-stderr "'--stable' and '--pure' are only valid for Python package types"
107+
if [[ "${pkg_lang}" == "cpp" ]] && (( stable_flag == 1 || pure_flag == 1 || py_flag == 1)); then
108+
rapids-echo-stderr "'--stable', '--py', and '--pure' are only valid for Python package types"
109109
exit 1
110110
fi
111111

0 commit comments

Comments
 (0)