@minto-ai/tools 1.0.36 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -158,7 +158,7 @@ function getFileSuffix(filePath) {
|
|
|
158
158
|
}
|
|
159
159
|
function getFileTitle(filePath) {
|
|
160
160
|
const matchResult = filePath.match(filePathRegex);
|
|
161
|
-
return matchResult ? matchResult[
|
|
161
|
+
return matchResult ? matchResult[2] : "";
|
|
162
162
|
}
|
|
163
163
|
function getFileName(filePath) {
|
|
164
164
|
const fileTitle = getFileTitle(filePath);
|