File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/@apphosting/experimental/adapter-astro/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
47
47
return {
48
48
name : "@apphosting/astro-adapter" ,
49
49
hooks : {
50
- "astro:config:setup" : async ( { updateConfig, config } ) => {
50
+ "astro:config:setup" : ( { updateConfig, config } ) => {
51
51
updateConfig ( {
52
52
image : {
53
53
endpoint : config . image . endpoint ?? "astro/assets/endpoint/node" ,
@@ -70,7 +70,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
70
70
} ;
71
71
setAdapter ( getAdapter ( _options ) ) ;
72
72
} ,
73
- "astro:build:done" : async ( config ) => {
73
+ "astro:build:done" : async ( ) => {
74
74
await fs . mkdir ( "./.apphosting" ) ;
75
75
const directoryName = dirname ( fileURLToPath ( import . meta. url ) ) ;
76
76
const packageJsonPath = `${ directoryName } /../package.json` ;
@@ -103,7 +103,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
103
103
104
104
function getPackageVersion ( packageName : string ) : Promise < string > {
105
105
return new Promise ( ( resolve , reject ) => {
106
- exec ( `npm view ${ packageName } version` , ( error , stdout , stderr ) => {
106
+ exec ( `npm view ${ packageName } version` , ( error , stdout ) => {
107
107
if ( error ) {
108
108
reject ( error ) ;
109
109
return ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const wombatDressingRoomTokens = new Map([
15
15
[ "@apphosting/adapter-nextjs" , process . env . ADAPTER_NEXTJS_NPM_TOKEN ] ,
16
16
[ "@apphosting/adapter-angular" , process . env . ADAPTER_ANGULAR_NPM_TOKEN ] ,
17
17
[ "@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 ] ,
19
19
] ) ;
20
20
21
21
wombatDressingRoomTokens . forEach ( ( token , pkg ) => {
You can’t perform that action at this time.
0 commit comments