Skip to content

feat: fall back to CODER_HEADER_COMMAND environment variable if not set #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove console.log
  • Loading branch information
JoshVee committed Nov 3, 2023
commit af0f9dd970aa9cc055868ca6aa6429afee753e6f
2 changes: 0 additions & 2 deletions src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ export class Storage {
}

public async getHeaders(url = this.getURL()): Promise<Record<string, string>> {
console.log(process.env)

return getHeaders(
url,
vscode.workspace.getConfiguration().get("coder.headerCommand") || process.env.CODER_HEADER_COMMAND,
Expand Down