Skip to content
Merged
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
6 changes: 3 additions & 3 deletions core/config/workspace/workspaceBlocks.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {
BlockType,
ConfigYaml,
createRuleMarkdown,
createPromptMarkdown,
RULE_FILE_EXTENSION,
createRuleMarkdown,
} from "@continuedev/config-yaml";
import * as YAML from "yaml";
import { IDE } from "../..";
import { getContinueGlobalPath } from "../../util/paths";
import { localPathToUri } from "../../util/pathToUri";
import { joinPathsToUri } from "../../util/uri";

const BLOCK_TYPE_CONFIG: Record<
Expand Down Expand Up @@ -165,7 +165,7 @@ export async function createNewWorkspaceBlockFile(

export async function createNewGlobalRuleFile(ide: IDE): Promise<void> {
try {
const globalDir = getContinueGlobalPath();
const globalDir = localPathToUri(getContinueGlobalPath());

// Create the rules subdirectory within the global directory
const rulesDir = joinPathsToUri(globalDir, "rules");
Expand Down
Loading