Commit fb500fb3b6e3981a39a6ac7ec120c70d05dda085
Merge branch 'feat/oss-support' into 'main_dev'
fix: 修复复制oss文件名拼接问题 See merge request yunteng/thingskit-scada!177
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -26,7 +26,7 @@ export function OssPlugin({ enableOss }: OssPluginParamsType): Plugin { |
26 | 26 | |
27 | 27 | for (const item of needCopyFilePathList) { |
28 | 28 | const { name, ext } = parse(item) |
29 | - copyFileSync(item, `${outputDirPath}/${name}.${ext}`) | |
29 | + copyFileSync(item, `${outputDirPath}/${name}${ext}`) | |
30 | 30 | } |
31 | 31 | |
32 | 32 | // eslint-disable-next-line no-console | ... | ... |