Skip to content

Commit c7b2776

Browse files
committed
fix getfilemode not exported
1 parent ffe8127 commit c7b2776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/components/Editor/stateUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import tidyCodeWithPrettier from './tidier';
5656
// - add docstrings for all exported functions
5757

5858
/** Detects what mode the file is based on the name. */
59-
function getFileMode(fileName) {
59+
export function getFileMode(fileName) {
6060
let mode;
6161
if (fileName.match(/.+\.js$/i)) {
6262
mode = 'javascript';

0 commit comments

Comments
 (0)