@realiizlabs/admin 0.15.7 → 0.15.9
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/git/index.cjs +4 -5
- package/dist/git/index.cjs.map +1 -1
- package/dist/git/index.d.cts +4 -0
- package/dist/git/index.d.ts +4 -0
- package/dist/git/index.js +4 -5
- package/dist/git/index.js.map +1 -1
- package/dist/studio/index.cjs +5 -6
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +5 -6
- package/dist/studio/index.js.map +1 -1
- package/dist/studio-ui/index.cjs +20 -5
- package/dist/studio-ui/index.cjs.map +1 -1
- package/dist/studio-ui/index.d.cts +1 -1
- package/dist/studio-ui/index.d.ts +1 -1
- package/dist/studio-ui/index.js +20 -5
- package/dist/studio-ui/index.js.map +1 -1
- package/package.json +2 -2
package/dist/studio/index.js
CHANGED
|
@@ -500,11 +500,10 @@ async function createBranch(ctx, branch) {
|
|
|
500
500
|
return { branch, baseSha };
|
|
501
501
|
}
|
|
502
502
|
async function deleteBranch(ctx, branch) {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
);
|
|
503
|
+
const path = `${repoPath(ctx)}/git/refs/heads/${encodeURIComponent(branch)}`;
|
|
504
|
+
const res = await ghFetch(ctx, "DELETE", path);
|
|
505
|
+
if (res.ok || res.status === 404 || res.status === 422) return;
|
|
506
|
+
throw toError(res, path);
|
|
508
507
|
}
|
|
509
508
|
|
|
510
509
|
// src/git/files.ts
|
|
@@ -1104,7 +1103,7 @@ function makeHandlers(ctx) {
|
|
|
1104
1103
|
}
|
|
1105
1104
|
|
|
1106
1105
|
// src/version.ts
|
|
1107
|
-
var ADMIN_VERSION = "0.15.
|
|
1106
|
+
var ADMIN_VERSION = "0.15.9" ;
|
|
1108
1107
|
|
|
1109
1108
|
// src/studio/update.ts
|
|
1110
1109
|
var PACKAGE_NAME = "@realiizlabs/admin";
|