Skip to content

Commit 415a9c5

Browse files
author
Li
committed
#395 update the mimetype of composer.json to pure json type
1 parent 374df03 commit 415a9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packagedcode/phpcomposer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
class PHPComposerPackage(models.Package):
5252
metafiles = ('composer.json')
5353
filetypes = ('.json',)
54-
mimetypes = ('application/x-directory', 'text/directory', 'inode/directory')
54+
mimetypes = ('application/json')
5555
repo_types = (models.repo_phpcomposer,)
5656

5757
type = models.StringType(default='phpcomposer')

0 commit comments

Comments
 (0)