File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import {
22 BlockType ,
33 ConfigYaml ,
4- createRuleMarkdown ,
54 createPromptMarkdown ,
6- RULE_FILE_EXTENSION ,
5+ createRuleMarkdown ,
76} from "@continuedev/config-yaml" ;
87import * as YAML from "yaml" ;
98import { IDE } from "../.." ;
109import { getContinueGlobalPath } from "../../util/paths" ;
10+ import { localPathToUri } from "../../util/pathToUri" ;
1111import { joinPathsToUri } from "../../util/uri" ;
1212
1313const BLOCK_TYPE_CONFIG : Record <
@@ -165,7 +165,7 @@ export async function createNewWorkspaceBlockFile(
165165
166166export async function createNewGlobalRuleFile ( ide : IDE ) : Promise < void > {
167167 try {
168- const globalDir = getContinueGlobalPath ( ) ;
168+ const globalDir = localPathToUri ( getContinueGlobalPath ( ) ) ;
169169
170170 // Create the rules subdirectory within the global directory
171171 const rulesDir = joinPathsToUri ( globalDir , "rules" ) ;
You can’t perform that action at this time.
0 commit comments