Skip to content

Commit f03d821

Browse files
committed
PR Fixes
1 parent e5a26d5 commit f03d821

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/apphosting/env.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ export async function importEnv(
117117
utils.logSuccess(
118118
`Created new secret version ${secretManager.toSecretVersionResourceName(version)}`,
119119
);
120-
// TODO: What do we do if the YAML is pinned to a specific version?
121120
}
122121
}
123122

src/commands/apphosting-env-import.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const command = new Command("apphosting:env:import")
4040
let projectRoot: string;
4141
if (source) {
4242
envFilePath = path.resolve(source);
43-
projectRoot = path.basename(envFilePath);
43+
projectRoot = path.dirname(envFilePath);
4444
} else {
4545
const temp = config.discoverBackendRoot(process.cwd());
4646
if (!temp) {
@@ -95,6 +95,7 @@ export const command = new Command("apphosting:env:import")
9595
),
9696
);
9797
}
98+
config.store(outputFile, doc);
9899
return;
99100
}
100101

0 commit comments

Comments
 (0)