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) => {
|
||||
return !!actor && (actor === "pullfrog" || actor === "pullfrog[bot]");
|
||||
actor = actor?.replace("[bot]", "");
|
||||
return !!actor && (actor === "pullfrog" || actor === "pullfrogdev");
|
||||
};
|
||||
function resolvePayload(resolvedPromptInput, repoSettings) {
|
||||
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 => {
|
||||
return !!actor && (actor === "pullfrog" || actor === "pullfrog[bot]");
|
||||
actor = actor?.replace("[bot]", "");
|
||||
return !!actor && (actor === "pullfrog" || actor === "pullfrogdev");
|
||||
};
|
||||
|
||||
export function resolvePayload(
|
||||
|
||||
Reference in New Issue
Block a user