Fix isPullfrog checks to handle the dev app (#362)
This commit is contained in:
committed by
pullfrog[bot]
parent
185ca7a832
commit
4ee1ae89a5
@@ -146711,7 +146711,8 @@ function resolveNonPromptInputs() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
var isPullfrog = (actor) => {
|
var isPullfrog = (actor) => {
|
||||||
return !!actor && (actor === "pullfrog" || actor === "pullfrog[bot]");
|
actor = actor?.replace("[bot]", "");
|
||||||
|
return !!actor && (actor === "pullfrog" || actor === "pullfrogdev");
|
||||||
};
|
};
|
||||||
function resolvePayload(resolvedPromptInput, repoSettings) {
|
function resolvePayload(resolvedPromptInput, repoSettings) {
|
||||||
const [prompt, jsonPayload] = typeof resolvedPromptInput !== "string" ? [resolvedPromptInput.prompt, resolvedPromptInput] : [resolvedPromptInput, void 0];
|
const [prompt, jsonPayload] = typeof resolvedPromptInput !== "string" ? [resolvedPromptInput.prompt, resolvedPromptInput] : [resolvedPromptInput, void 0];
|
||||||
|
|||||||
+2
-1
@@ -110,7 +110,8 @@ function resolveNonPromptInputs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isPullfrog = (actor: string | null | undefined): boolean => {
|
const isPullfrog = (actor: string | null | undefined): boolean => {
|
||||||
return !!actor && (actor === "pullfrog" || actor === "pullfrog[bot]");
|
actor = actor?.replace("[bot]", "");
|
||||||
|
return !!actor && (actor === "pullfrog" || actor === "pullfrogdev");
|
||||||
};
|
};
|
||||||
|
|
||||||
export function resolvePayload(
|
export function resolvePayload(
|
||||||
|
|||||||
Reference in New Issue
Block a user