Skip to content

Commit 93ebd5b

Browse files
committed
lint
1 parent 613f946 commit 93ebd5b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/@apphosting/experimental/adapter-astro/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
4747
return {
4848
name: "@apphosting/astro-adapter",
4949
hooks: {
50-
"astro:config:setup": async ({ updateConfig, config }) => {
50+
"astro:config:setup": ({ updateConfig, config }) => {
5151
updateConfig({
5252
image: {
5353
endpoint: config.image.endpoint ?? "astro/assets/endpoint/node",
@@ -70,7 +70,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
7070
};
7171
setAdapter(getAdapter(_options));
7272
},
73-
"astro:build:done": async (config) => {
73+
"astro:build:done": async () => {
7474
await fs.mkdir("./.apphosting");
7575
const directoryName = dirname(fileURLToPath(import.meta.url));
7676
const packageJsonPath = `${directoryName}/../package.json`;
@@ -103,7 +103,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
103103

104104
function getPackageVersion(packageName: string): Promise<string> {
105105
return new Promise((resolve, reject) => {
106-
exec(`npm view ${packageName} version`, (error, stdout, stderr) => {
106+
exec(`npm view ${packageName} version`, (error, stdout) => {
107107
if (error) {
108108
reject(error);
109109
return;

scripts/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const wombatDressingRoomTokens = new Map([
1515
["@apphosting/adapter-nextjs", process.env.ADAPTER_NEXTJS_NPM_TOKEN],
1616
["@apphosting/adapter-angular", process.env.ADAPTER_ANGULAR_NPM_TOKEN],
1717
["@apphosting/common", process.env.ADAPTER_COMMON_NPM_TOKEN],
18-
["@apphosting/astro-adapter", process.env.ADAPTER_ASTRO_NPM_TOKEN]
18+
["@apphosting/astro-adapter", process.env.ADAPTER_ASTRO_NPM_TOKEN],
1919
]);
2020

2121
wombatDressingRoomTokens.forEach((token, pkg) => {

0 commit comments

Comments
 (0)