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(())