Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
owojcikiewicz committed Mar 10, 2024
1 parent 50fbc5b commit b06d331
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27196,24 +27196,24 @@ const input = (input, required = false) => {
};
const getPortainerConfig = () => {
return {
baseUrl: input('url', true),
username: input('username', true),
password: input('password', true),
endpointId: input('endpointId', true),
baseUrl: input('portainer-url', true),
username: input('portainer-username', true),
password: input('portainer-password', true),
endpointId: input('portainer-endpoint-id', true),
};
};
const getEnv = () => {
const raw = input('env', true);
const raw = input('env-file', true);
return (0, parse_env_string_1.parseEnvString)(raw);
};
const getStackConfig = () => {
const path = input('path', true);
const path = input('stack-compose-path', true);
const file = fs.readFileSync(path, 'utf8');
return {
name: input('name', true),
name: input('stack-name', true),
composeFile: file,
pullImage: input('pull') === 'true',
prune: input('prune') === 'true',
pullImage: input('stack-pull-image') === 'true',
prune: input('stack-prune') === 'true',
};
};
const config = {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit b06d331

Please sign in to comment.