mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-21 19:38:47 +00:00
refactor(bitbucket): streamline extractCommitedPaths function by passing Bitbucket object directly
This commit is contained in:
@@ -99,12 +99,8 @@ export default async function handler(
|
|||||||
|
|
||||||
const commitedPaths = await extractCommitedPaths(
|
const commitedPaths = await extractCommitedPaths(
|
||||||
req.body,
|
req.body,
|
||||||
composeResult.bitbucketOwner,
|
composeResult.bitbucket,
|
||||||
composeResult.bitbucket?.apiToken ||
|
|
||||||
composeResult.bitbucket?.appPassword ||
|
|
||||||
"",
|
|
||||||
composeResult.bitbucketRepository || "",
|
composeResult.bitbucketRepository || "",
|
||||||
!!composeResult.bitbucket?.apiToken,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const shouldDeployPaths = shouldDeploy(
|
const shouldDeployPaths = shouldDeploy(
|
||||||
|
|||||||
Reference in New Issue
Block a user