We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d543ec commit ef3e9b0Copy full SHA for ef3e9b0
1 file changed
src/lib/utils.ts
@@ -259,6 +259,7 @@ const getSourceFileFormat = (filePath: string, fileContent: Buffer) => {
259
contentType.includes('xml') ||
260
contentType.includes('application/node') || // .cjs files
261
contentType.includes('application/toml') || // for example pyproject.toml files
262
+ contentType.includes('application/x-sh') || // .sh files
263
contentType.includes('application/x-httpd-php') // .php files
264
? SOURCE_FILE_FORMATS.TEXT
265
: SOURCE_FILE_FORMATS.BASE64;
0 commit comments