This commit is contained in:
fredqian
2025-03-09 11:45:34 +08:00

View File

@@ -78,7 +78,7 @@ class FooterLayerExampleExt extends FooterLayerExample {
dataToWorkspace(inPath) {
const data = goog.get(path.join(Env.boardDirPath, 'examples', inPath));
this.updateCode(inPath.substring(inPath.lastIndexOf('.')), data);
this.updateCode(path.extname(inPath), data);
}
}