chore: clean up code
This commit is contained in:
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@@ -19,10 +19,7 @@ jobs:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Terraform (REPLACE WITH CODER ACTION WHEN DONE)
|
||||
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
|
||||
with:
|
||||
terraform_version: 1.9.8
|
||||
terraform_wrapper: false
|
||||
uses: coder/coder/.github/actions/setup-tf@main
|
||||
- name: Set up Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
|
||||
@@ -5,8 +5,6 @@ import {
|
||||
testRequiredVariables,
|
||||
} from "../test";
|
||||
|
||||
console.log("DELETE ME BEFORE COMMITTING!!!!!");
|
||||
|
||||
const allowedDesktopEnvs = ["xfce", "kde", "gnome", "lxde", "lxqt"] as const;
|
||||
type AllowedDesktopEnv = (typeof allowedDesktopEnvs)[number];
|
||||
|
||||
|
||||
2
test.ts
2
test.ts
@@ -202,7 +202,7 @@ export const runTerraformApply = async <TVars extends TerraformVariables>(
|
||||
...process.env,
|
||||
...(customEnv ?? {}),
|
||||
};
|
||||
for (const [key, value] of Object.entries(vars)) {
|
||||
for (const [key, value] of Object.entries(vars) as [string, JsonValue][]) {
|
||||
if (value !== null) {
|
||||
combinedEnv[`TF_VAR_${key}`] = String(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user