fix(cli): push folders first + on_behalf_of stripped from metadata

This commit is contained in:
Ruben Fiszel
2024-01-31 14:53:09 +01:00
parent e159d49788
commit 5ef50a8df9
7 changed files with 66 additions and 18 deletions
-3
View File
@@ -151,7 +151,6 @@ export async function handleFile(
typed == undefined ||
(typed.description === remote.description &&
typed.summary === remote.summary &&
(typed.is_template ?? false) === (remote.is_template ?? false) &&
typed.kind == remote.kind &&
!remote.archived &&
(Array.isArray(remote?.lock)
@@ -184,7 +183,6 @@ export async function handleFile(
language: language as NewScript.language,
path: remotePath.replaceAll("\\", "/"),
summary: typed?.summary ?? "",
is_template: typed?.is_template,
kind: typed?.kind,
lock: lockfileUseArray ? typed?.lock.split("\n") : typed?.lock,
parent_hash: remote.hash,
@@ -212,7 +210,6 @@ export async function handleFile(
language: language as NewScript.language,
path: remotePath.replaceAll("\\", "/"),
summary: typed?.summary ?? "",
is_template: typed?.is_template,
kind: typed?.kind,
lock: lockfileUseArray ? typed?.lock.split("\n") : typed?.lock,
parent_hash: undefined,