Skip to content

Commit 2f65a2e

Browse files
committed
chore: coding standards
1 parent d86c519 commit 2f65a2e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/cli-release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55

66
name: Release a New Version of the CLI
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
releaseandpublish:
1013
name: Release on Github
@@ -21,6 +24,7 @@ jobs:
2124

2225
- name: 📥 Download deps
2326
run: bun install --frozen-lockfile
27+
working-directory: atw-cli
2428

2529
- name: 🔨 Compiling the different versions
2630
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)