Skip to content

Commit

Permalink
Fix private dir
Browse files Browse the repository at this point in the history
Resolves: #522
  • Loading branch information
ggodlewski committed Dec 18, 2024
1 parent 17c8656 commit f82644b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/containers/server/routes/FolderController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ export default class FolderController extends Controller {
mimeType: MimeTypes.FOLDER_MIME,
children: await this.generateChildren(subDir, driveId, userConfigService.config.transform_subdir || '/', filePath)
};
console.log('treeItem.children', treeItem.children);

const changes = await getCachedChanges(this.logger, transformedFileSystem, contentFileService, googleFileSystem);
await addGitData(treeItem.children, changes, '');
Expand Down
2 changes: 1 addition & 1 deletion src/containers/transform/DirectoryScanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {FileId} from '../../model/model.ts';
import {LOG_NAME} from './LocalLog.ts';

export const RESERVED_NAMES = [LOG_NAME, '.wgd-directory.yaml', '.wgd-local-log.csv', '.wgd-local-links.csv',
'.tree.json'];
'.tree.json', '.private'];

export const RESERVED_DIR_NAMES = ['.git'];

Expand Down

0 comments on commit f82644b

Please sign in to comment.