From 18d503852863d1d5fc0cea9b87595df2d26a3e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Djk=C3=A1=C5=A5o?= Date: Thu, 9 May 2024 18:33:09 +0200 Subject: [PATCH] before trying git patches --- changes.sh | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changes.sh b/changes.sh index b1a91e3..4ebcfa8 100755 --- a/changes.sh +++ b/changes.sh @@ -47,7 +47,7 @@ for i in ${redis_apl_target_paths[*]}; do echo "copying redis_apl.ts to ./all_apps/$i" cp -f "$REDIS_APL_PATH" "./all_apps/$i" # always copies next to saleor-app.ts, so let's add some files to that file too - find . -name "saleor-app.ts" -exec sed "/switch/ r $CURR_PWD/changes/case_redisapl.ts" {} \; + # find . -name "saleor-app.ts" -exec sed "/switch/ r $CURR_PWD/changes/case_redisapl.ts" {} \; done for i in ${app_paths[*]}; do diff --git a/src/main.rs b/src/main.rs index fb2c159..0324bc4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ fn main() -> Result<(), io::Error> { + &first_half; let final_content = first_half + &second_half; - // fs::write(file, final_content)?; + fs::write("output.ts", &final_content)?; println!("{}", final_content); Ok(())