Add script files to the list of human readable files
This commit is contained in:
parent
ac61c58256
commit
4f4abdd3fa
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ export const makeSelectIsText = (uri: string) =>
|
||||||
createSelector(
|
createSelector(
|
||||||
makeSelectMediaTypeForUri(uri),
|
makeSelectMediaTypeForUri(uri),
|
||||||
mediaType => {
|
mediaType => {
|
||||||
const isText = ['text', 'document'].includes(mediaType);
|
const isText = ['document', 'script'].includes(mediaType);
|
||||||
return isText;
|
return isText;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue