Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ContentType for *.html missing

Open
#323 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start in app/exec/extension/_lib/vsix-manifest-builder.ts at lines 39-61, where the extension manifest content types are determined. Reproduce the create-extension operation and confirm the warning for .html; done means HTML files receive the correct content type instead of application/octet-stream and the warning no longer appears.

Written by the indexing model from the issue text.

Description

Area: tfx-cli bug

https://github.com/microsoft/tfs-cli/blob/7876cb913da2ddcc2bcdad59068a390f04391dfb/app/exec/extension/_lib/vsix-manifest-builder.ts#L39-L61

2019-07-15T10:39:39.4016469Z TFS Cross Platform Command Line Interface v0.7.8
2019-07-15T10:39:39.4016615Z Copyright Microsoft Corporation
2019-07-15T10:39:39.4017917Z warning: Could not determine content type for extension .html. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
2019-07-15T10:39:39.4018058Z 
2019-07-15T10:39:39.4018210Z === Completed operation: create extension ===
Dominant language
TypeScript
Stars
386
Forks
142
Avg merge
2d 11h
Merged PRs (30d)
5

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/tfs-cli

All issues in microsoft/tfs-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.