waly-svalley-onlyoffice
Advanced tools
Comparing version 1.0.47 to 1.0.48
@@ -1246,3 +1246,13 @@ const path = require('path'); | ||
docsPaths.forEach(filePath => { | ||
const fileName = path.basename(filePath); | ||
const fileName = {name: path.basename(filePath)}; | ||
// const fileName = path.basename(filePath); | ||
const ext = fileUtility.getFileExtension(fileName.name); | ||
if (ext === '.pptx') { | ||
fileName.type = 'slide' | ||
}else if(ext === '.xlsx'){ | ||
fileName.type = 'cell' | ||
}else{ | ||
fileName.type = 'word' | ||
} | ||
// console.log('fileName : ',fileName); | ||
fileNames.push(fileName); | ||
@@ -1249,0 +1259,0 @@ }); |
{ | ||
"name": "waly-svalley-onlyoffice", | ||
"version": "1.0.47", | ||
"version": "1.0.48", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8766668
15607