File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,9 @@ export async function main(args: string[]): Promise<void> {
1616 if ( argv . _ . length ) {
1717 artifactPath = argv . _ [ 0 ]
1818 }
19-
20- const propsPath = path . resolve (
21- process . cwd ( ) ,
22- artifactPath ,
23- '.adapterprops.json'
24- )
19+
20+ const absArtifactPath = path . resolve ( process . cwd ( ) , artifactPath )
21+ const propsPath = path . join ( absArtifactPath , '.adapterprops.json' )
2522
2623 const require = createRequire ( import . meta. url )
2724 let adapterProps : AWSAdapterProps
@@ -42,7 +39,7 @@ export async function main(args: string[]): Promise<void> {
4239 env : process . env ,
4340 } )
4441
45- fs . rmSync ( artifactPath , { recursive : true , force : true } )
42+ fs . rmSync ( absArtifactPath , { recursive : true , force : true } )
4643
4744}
4845
You can’t perform that action at this time.
0 commit comments