Skip to content

Commit 6f2d924

Browse files
committed
chore: coding standards
1 parent d86c519 commit 6f2d924

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/cli-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
- name: 📥 Download deps
2323
run: bun install --frozen-lockfile
24+
working-directory: atw-cli
2425

2526
- name: 🔨 Compiling the different versions
2627
run: make build-all-cli

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ build-cli: ## Build CLI
6969
build-all-cli:
7070
@cd $(CLI_DIR) && bun build --bundle src/index.ts --outfile atw-cli.js --target=bun
7171
@cd $(CLI_DIR) && bun shim.ts
72-
@cd $(CLI_DIR) && for target in bun-linux-x64 bun-linux-arm64 bun-windows-x64 bun-darwin-x64 bun-darwin-arm64; do \
72+
@cd $(CLI_DIR) && for target in bun-linux-x64 bun-linux-arm64 bun-windows-x64 bun-darwin-x64 bun-darwin-arm64; do \
7373
bun build --compile --minify atw-cli.js --outfile atw-cli-$$target --target=$$target; \
7474
done
75-
@rm atw-cli.js
75+
@cd $(CLI_DIR) && rm atw-cli.js

website/app/routes/preview[.png].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export async function loader({ context }: Route.LoaderArgs) {
2020
search.set("h", "315");
2121
search.set("src", image.url);
2222
return {
23-
...image,
24-
url: context.mainConfig.origin + "/img" + "?" + search.toString(),
23+
...image,
24+
url: context.mainConfig.origin + "/img" + "?" + search.toString(),
2525
};
2626
});
2727

0 commit comments

Comments
 (0)