Skip to content

Commit

Permalink
CI/CD workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelnikonorov committed Jun 24, 2024
1 parent a655a90 commit 6514f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ generate_openapi_models() {
echo "TEMP_OUTPUT_DIR is $TEMP_OUTPUT_DIR"

# Modify the import statements in each generated file
SED_RULE="s/use crate::models;/#![allow(unused_imports)]\n#[allow(clippy::empty_docs)]\nuse crate::$API_NAME::models;/"
SED_RULE="s/use crate::models;/#![allow(unused_imports)]\n#![allow(clippy::empty_docs)]\nuse crate::$API_NAME::models;/"
for file in $(find "$TEMP_OUTPUT_DIR" -name '*.rs'); do
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS (BSD) sed syntax
Expand Down

0 comments on commit 6514f6e

Please sign in to comment.