We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe8127 commit c7b2776Copy full SHA for c7b2776
client/modules/IDE/components/Editor/stateUtils.js
@@ -56,7 +56,7 @@ import tidyCodeWithPrettier from './tidier';
56
// - add docstrings for all exported functions
57
58
/** Detects what mode the file is based on the name. */
59
-function getFileMode(fileName) {
+export function getFileMode(fileName) {
60
let mode;
61
if (fileName.match(/.+\.js$/i)) {
62
mode = 'javascript';
0 commit comments