Skip to content

Commit

Permalink
fix: set namespace for js module
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Aug 8, 2024
1 parent b725a6c commit 97702e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cortex-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export async function start(
dataFolder?: string,
) {
if (name) {
fileManagerService.setConfigProfile(name);
const isProfileConfigExists = fileManagerService.profileConfigExists(name);
if (!isProfileConfigExists) {
await fileManagerService.writeConfigFile({
Expand Down
1 change: 0 additions & 1 deletion cortex-js/src/infrastructure/commanders/base.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Injectable } from '@nestjs/common';
import { CortexUsecases } from '@/usecases/cortex/cortex.usecases';
import ora from 'ora';
import { CortexClient } from './services/cortex.client';
import { fileManagerService } from '../services/file-manager/file-manager.service';

@Injectable()
export abstract class BaseCommand extends CommandRunner {
Expand Down

0 comments on commit 97702e4

Please sign in to comment.