@oh-my-ghaad/gitlab 0.0.10 → 0.0.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.0.11](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.10...v0.0.11) (2025-10-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove thrown error when creating a file and it not existing yet ([3ed41b7](https://github.com/cmgriffing/oh-my-ghaad/commit/3ed41b79cbdb0115fe1640549fd76ff5a452728e))
7
+
8
+
9
+
1
10
  ## [0.0.10](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.9...v0.0.10) (2025-10-06)
2
11
 
3
12
 
package/dist/index.cjs CHANGED
@@ -177,7 +177,6 @@ var GitlabAdapter = class extends import_core.Adapter {
177
177
  if (existingFileOrError.cause.response.status === 401 && this.unauthorizedHandler) {
178
178
  this.unauthorizedHandler();
179
179
  }
180
- throw new Error("Failed to fetch existing file");
181
180
  }
182
181
  if (existingFileOrError) {
183
182
  throw new Error("File already exists");
package/dist/index.js CHANGED
@@ -152,7 +152,6 @@ var GitlabAdapter = class extends Adapter {
152
152
  if (existingFileOrError.cause.response.status === 401 && this.unauthorizedHandler) {
153
153
  this.unauthorizedHandler();
154
154
  }
155
- throw new Error("Failed to fetch existing file");
156
155
  }
157
156
  if (existingFileOrError) {
158
157
  throw new Error("File already exists");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-ghaad/gitlab",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -10,7 +10,7 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@gitbeaker/rest": "^43.5.0",
13
- "@oh-my-ghaad/core": "0.0.10"
13
+ "@oh-my-ghaad/core": "0.0.11"
14
14
  },
15
15
  "devDependencies": {
16
16
  "tsup": "^8.5.0",
package/src/adapter.ts CHANGED
@@ -168,7 +168,6 @@ export class GitlabAdapter extends Adapter implements IAdapter {
168
168
  ) {
169
169
  this.unauthorizedHandler();
170
170
  }
171
- throw new Error("Failed to fetch existing file");
172
171
  }
173
172
 
174
173
  if (existingFileOrError) {