revdeck 0.7.0 → 0.8.0

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/daemon.js CHANGED
@@ -1318,7 +1318,7 @@ async function writeFileAtomic(file, data, mode = 384, dirMode = 448) {
1318
1318
  init_redact();
1319
1319
 
1320
1320
  // src/version.ts
1321
- var VERSION = "0.7.0";
1321
+ var VERSION = "0.8.0";
1322
1322
  var PROTOCOL_VERSION = 2;
1323
1323
 
1324
1324
  // src/daemon/main.ts
@@ -2678,6 +2678,14 @@ function mergeConfigData(base, local) {
2678
2678
  }
2679
2679
  async function loadConfig(root = findRepoRoot()) {
2680
2680
  const warnings = [];
2681
+ if (!existsSync2(root)) {
2682
+ warnings.push(
2683
+ tr(
2684
+ `\u043A\u0430\u0442\u0430\u043B\u043E\u0433 ${root} \u043D\u0435 \u0432\u0438\u0434\u0435\u043D \u0442\u043E\u043C\u0443, \u043A\u0442\u043E \u0447\u0438\u0442\u0430\u0435\u0442 \u043A\u043E\u043D\u0444\u0438\u0433: \u0432 devcontainer \u0434\u0435\u043C\u043E\u043D \u043D\u0430 \u0445\u043E\u0441\u0442\u0435 \u043D\u0435 \u0432\u0438\u0434\u0438\u0442 \u043F\u0443\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u0430 \u2014 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 revdeck devcontainer --write \u0438\u043B\u0438 \u0437\u0430\u0434\u0430\u0439\u0442\u0435 REVDECK_HOST_ROOT`,
2685
+ `the directory ${root} is not visible to the config reader: in a devcontainer the host daemon cannot see the container path \u2014 run revdeck devcontainer --write or set REVDECK_HOST_ROOT`
2686
+ )
2687
+ );
2688
+ }
2681
2689
  const file = findConfigFile(root);
2682
2690
  let localFile = findLocalConfigFile(root);
2683
2691
  if (localFile && existsSync2(path4.join(root, ".git"))) {