Skip to content

Commit

Permalink
chore: apply cr suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
EscapeB committed Mar 1, 2024
1 parent b3771c3 commit 65c81f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion apps/sparo-lib/src/cli/commands/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface IPullCommandOptions {
@Command()
export class PullCommand implements ICommand<IPullCommandOptions> {
public cmd: string = 'pull [remote] [branch]';
public description: string = 'pull changes from remote branch to local';
public description: string = 'Incorporates changes from a remote repository into the current branch.';

@inject(GitService) private _gitService!: GitService;
@inject(SparoProfileService) private _sparoProfileService!: SparoProfileService;
Expand Down
5 changes: 0 additions & 5 deletions apps/sparo-lib/src/services/SparoProfileService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,6 @@ ${availableProfiles.join(',')}
profiles?: Set<string>;
addProfiles?: Set<string>;
}): Promise<void> {
/*
* 2. If profile array is specified, using `git sparse-checkout set` to set sparse checkout folders in profiles.
* 3. If add profiles is specified, using `git sparse-checkout add` to add folders in add profiles
*/

this._localState.reset();
this._terminalService.terminal.writeLine(
`Syncing local sparse checkout state with following specified profiles:\n${Array.from([
Expand Down

0 comments on commit 65c81f9

Please sign in to comment.