Commit fb500fb3b6e3981a39a6ac7ec120c70d05dda085

Authored by xp.Huang
2 parents f56c60da ea19aba8

Merge branch 'feat/oss-support' into 'main_dev'

fix: 修复复制oss文件名拼接问题

See merge request yunteng/thingskit-scada!177
@@ -26,7 +26,7 @@ export function OssPlugin({ enableOss }: OssPluginParamsType): Plugin { @@ -26,7 +26,7 @@ export function OssPlugin({ enableOss }: OssPluginParamsType): Plugin {
26 26
27 for (const item of needCopyFilePathList) { 27 for (const item of needCopyFilePathList) {
28 const { name, ext } = parse(item) 28 const { name, ext } = parse(item)
29 - copyFileSync(item, `${outputDirPath}/${name}.${ext}`) 29 + copyFileSync(item, `${outputDirPath}/${name}${ext}`)
30 } 30 }
31 31
32 // eslint-disable-next-line no-console 32 // eslint-disable-next-line no-console