Skip to content

Commit

Permalink
Merge pull request meltylabs#50 from abhi12299/fix-private-fn-access
Browse files Browse the repository at this point in the history
Remove `private` modifier for copySettings and copyExtensions function
  • Loading branch information
jacksondc authored Sep 10, 2024
2 parents f1aa278 + 5219922 commit ba1e649
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions extensions/spectacular/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import { GitManager } from "./services/GitManager";
import posthog from "posthog-js";
import { TaskManager } from './services/TaskManager';
import { exec } from 'child_process';
import * as path from 'path';

const COPY_MELTY_SETTINGS_SCRIPT_URL = 'https://raw.githubusercontent.com/meltylabs/melty/main/scripts/copy_settings.sh'
const COPY_MELTY_EXTENSIONS_SCRIPT_URL = 'https://raw.githubusercontent.com/meltylabs/melty/main/scripts/copy_extensions.sh'
const COPY_MELTY_SETTINGS_SCRIPT_URL = 'https://raw.githubusercontent.com/meltylabs/melty/main/scripts/copy_settings.sh';
const COPY_MELTY_EXTENSIONS_SCRIPT_URL = 'https://raw.githubusercontent.com/meltylabs/melty/main/scripts/copy_extensions.sh';

export class MeltyExtension {
private outputChannel: vscode.OutputChannel;
Expand Down Expand Up @@ -89,7 +88,7 @@ export class MeltyExtension {
await this.context.globalState.update('onboardingComplete', true);
}

private async copySettings(): Promise<void> {
async copySettings(): Promise<void> {
// progress bar
const progress = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 100);
progress.text = 'Copying VS Code settings...';
Expand All @@ -111,7 +110,7 @@ export class MeltyExtension {
});
}

private async copyExtensions(): Promise<void> {
async copyExtensions(): Promise<void> {
// progress bar
const progress = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 100);
progress.text = 'Copying VS Code extensions...';
Expand Down

0 comments on commit ba1e649

Please sign in to comment.