Skip to content

Commit

Permalink
fix(plugin-uploader): System ENV value check (#3016)
Browse files Browse the repository at this point in the history
Co-authored-by: charles <[email protected]>
Co-authored-by: Chihiro Adachi <[email protected]>
  • Loading branch information
3 people authored Oct 21, 2024
1 parent a28d3d3 commit 1da8bb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/plugin-uploader/src/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {
} from "./prompts/params";

interface Params {
username?: string;
password?: string;
baseUrl?: string;
username: string;
password: string;
baseUrl: string;
lang: Lang;
}

const isSet = (v: string | null | undefined) => typeof v === "string";
const isSet = (v: string | null | undefined) => typeof v === "string" && v;

export const inquireParams = async ({
username,
Expand Down

0 comments on commit 1da8bb0

Please sign in to comment.