Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagrios committed Apr 10, 2023
1 parent 962f1d8 commit b7ac990
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/services/version-folder-linker.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class VersionFolderLinkerService {
action.options = this.specialFolderOption(action.relativeFolder, action.options);
const versionPath = await this.localVersion.getVersionPath(action.version);
const folderPath = this.relativeToFullPath(versionPath, action.relativeFolder);
return this.folderLinker.linkFolder(folderPath, action.options).catch((err) => {console.log(err); return false}).then(() => true)
return this.folderLinker.linkFolder(folderPath, action.options).catch(() => false).then(() => true)
}

public async unlinkVersionFolder(action: VersionUnlinkFolderAction): Promise<boolean>{
Expand Down Expand Up @@ -109,7 +109,6 @@ export class VersionFolderLinkerService {

for(const version of versions){
const linkedFolders = await this.getLinkedFolders(version, { relative: true, ignoreSymlinkTargetError: true });
console.log(linkedFolders);
const actions = linkedFolders.map(folder => ({ type: "link", version, relativeFolder: folder } as VersionLinkFolderAction));
await Promise.all(actions.map(action => this.doAction(action)));
}
Expand Down

0 comments on commit b7ac990

Please sign in to comment.