fix(tsview-s3-columns): append trailing slash to destination key when moving folders to ensure folder destination path
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsview',
|
||||
version: '1.10.1',
|
||||
version: '1.10.2',
|
||||
description: 'A CLI tool for viewing S3 and MongoDB data with a web UI'
|
||||
}
|
||||
|
||||
@@ -1239,7 +1239,7 @@ export class TsviewS3Columns extends DeesElement {
|
||||
|
||||
try {
|
||||
const sourceName = getFileName(this.moveSource.key);
|
||||
const destKey = this.moveDestination + sourceName;
|
||||
const destKey = this.moveDestination + sourceName + (this.moveSource.isFolder ? '/' : '');
|
||||
|
||||
let result: { success: boolean; error?: string };
|
||||
if (this.moveSource.isFolder) {
|
||||
|
||||
Reference in New Issue
Block a user