Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/@types/ipc_channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export enum InstallerChannelsEnum {
create_dirs = 'install:create_dirs',
clone_repos = 'install:clone_repos',
open_terms_link = 'install:open_terms_link',
disk_error = 'install:disk_space_error',
}

export enum WelcomeChannelsEnum {
Expand Down
3 changes: 2 additions & 1 deletion src/dashboard/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import {
GenericChannelsEnum,
NodeChannelsEnum,
PointSDKChannelsEnum,
UninstallerChannelsEnum
UninstallerChannelsEnum,
InstallerChannelsEnum
} from '../@types/ipc_channels';
import {EventListener, UpdateLog} from '../@types/generic';
import {ErrorsEnum} from '../@types/errors';
Expand Down
5 changes: 4 additions & 1 deletion src/installer/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import fs from 'fs-extra';

const POINT_SRC_DIR = helpers.getPointSrcPath();
const POINT_LIVE_DIR = helpers.getLiveDirectoryPath();

const DIRECTORIES = [helpers.getPointSoftwarePath(), POINT_LIVE_DIR];

const REPOSITORIES = ['liveprofile'];
Expand Down Expand Up @@ -118,6 +117,10 @@ class Installer {
channel: InstallerChannelsEnum.error,
log: this._attempts.toString()
});
this.logger.sendToChannel({
channel: InstallerChannelsEnum.disk_error,
log: error.message
});
throw error;
}
};
Expand Down
Loading