File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ export async function importEnv(
117
117
utils . logSuccess (
118
118
`Created new secret version ${ secretManager . toSecretVersionResourceName ( version ) } ` ,
119
119
) ;
120
- // TODO: What do we do if the YAML is pinned to a specific version?
121
120
}
122
121
}
123
122
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const command = new Command("apphosting:env:import")
40
40
let projectRoot : string ;
41
41
if ( source ) {
42
42
envFilePath = path . resolve ( source ) ;
43
- projectRoot = path . basename ( envFilePath ) ;
43
+ projectRoot = path . dirname ( envFilePath ) ;
44
44
} else {
45
45
const temp = config . discoverBackendRoot ( process . cwd ( ) ) ;
46
46
if ( ! temp ) {
@@ -95,6 +95,7 @@ export const command = new Command("apphosting:env:import")
95
95
) ,
96
96
) ;
97
97
}
98
+ config . store ( outputFile , doc ) ;
98
99
return ;
99
100
}
100
101
You can’t perform that action at this time.
0 commit comments