@contextos/core 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -167,7 +167,7 @@ function findContextosRoot(startDir = process.cwd()) {
|
|
|
167
167
|
function loadContextYaml(rootDir) {
|
|
168
168
|
const contextPath = join(rootDir, CONTEXTOS_DIR, CONTEXT_FILE);
|
|
169
169
|
if (!existsSync(contextPath)) {
|
|
170
|
-
throw new Error(`context.yaml not found at ${contextPath}. Run 'ctx init' first.`);
|
|
170
|
+
throw new Error(`ContextOS not initialized: context.yaml not found at ${contextPath}. Run 'ctx init' first.`);
|
|
171
171
|
}
|
|
172
172
|
const rawContent = readFileSync(contextPath, "utf-8");
|
|
173
173
|
const parsed = parseYaml(rawContent);
|