Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes the duration field #278

Merged
merged 3 commits into from
Nov 1, 2024
Merged

fixes the duration field #278

merged 3 commits into from
Nov 1, 2024

Conversation

americk0
Copy link
Member

@americk0 americk0 commented Nov 1, 2024

Change Log Items

  • Fixes the duration flag for alks sessions open

Description

Prior to this fix, the -D or --duration flags to alks sessions open weren't capturing the number passed along with the flag, but instead populated the field with a boolean value of true if the flag was present, and false otherwise, and internally javascript was coercing this value to a number (true => 1, false => 0). This meant that regardless of the duration specified, the duration was always being set to 1 hour. This code change fixes that

@americk0 americk0 requested review from a team and DevOpsDave and removed request for a team November 1, 2024 17:38
DevOpsDave
DevOpsDave previously approved these changes Nov 1, 2024
@americk0 americk0 added the release/patch Indicates an update without breaking changes or new features label Nov 1, 2024
@americk0 americk0 merged commit 6e1b786 into master Nov 1, 2024
4 checks passed
@americk0 americk0 deleted the fix-duration branch November 1, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/patch Indicates an update without breaking changes or new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants