@staff0rd/assist 0.170.1 → 0.170.2

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.170.1",
9
+ version: "0.170.2",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -161,13 +161,9 @@ function loadBacklog() {
161
161
  if (!existsSync(backlogPath)) {
162
162
  return [];
163
163
  }
164
- try {
165
- const content = readFileSync(backlogPath, "utf-8");
166
- const raw = parseYaml(content) || [];
167
- return backlogFileSchema.parse(raw);
168
- } catch {
169
- return [];
170
- }
164
+ const content = readFileSync(backlogPath, "utf-8");
165
+ const raw = parseYaml(content) || [];
166
+ return backlogFileSchema.parse(raw);
171
167
  }
172
168
  function saveBacklog(items) {
173
169
  const backlogPath = getBacklogPath();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.170.1",
3
+ "version": "0.170.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {