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 9d432e0 commit 0c96f33Copy full SHA for 0c96f33
1 file changed
lib/api/folder/read.js
@@ -43,7 +43,7 @@ exports.readFiles = async function (instance, component, route, files) {
43
throw new Error(0, 'E_INVALIDFILENAME', 'The file name format is invalid');
44
} else {
45
instance.insertComponent(filenameInfo.name,
46
- await new Reader().readCode(filenameInfo.ext, filename), component);
+ await Reader.readCode(filenameInfo.ext, filename), component);
47
}
48
49
0 commit comments