Skip to content

Adding Debug Switch to gallery extension#27

Open
seanmcne wants to merge 6 commits intoStefanKert:masterfrom
seanmcne:seanmcne-enabledebugswitch
Open

Adding Debug Switch to gallery extension#27
seanmcne wants to merge 6 commits intoStefanKert:masterfrom
seanmcne:seanmcne-enabledebugswitch

Conversation

@seanmcne
Copy link
Copy Markdown

@seanmcne seanmcne commented Dec 4, 2020

No description provided.

adding debug/verbose when there is a debug switch enabled
Added enabledebugswitch for debug output
Added input for debug switch
updated to using 'boolean' and using getBoolInput
@seanmcne seanmcne marked this pull request as ready for review December 4, 2020 22:18
fixing type mismatch bug
@seanmcne seanmcne mentioned this pull request Dec 4, 2020
Comment thread task/codesigning.ts

let signCertPassword: string = tl.getInput("signCertPassword", true);
let timeServer: string = tl.getInput("timeServer", true);
let enableDebugSwitch: boolean = tl.getBoolInput("enableDebugSwitch", true);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this shouldn´t be required. Default value should be false. This should also fix the tests :)

let enableDebugSwitch: boolean = tl.getBoolInput("enableDebugSwitch", false);

tmr.setInput("timeServer", timeServer);
tmr.setInput("hashingAlgorithm", hashingAlgorithm);
tmr.setInput("files", filePaths);
tmr.setVariableName("SECURE_FILE_PATH", certificatePath);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on if we keep the ui option or switch to a system.variable, we should set the information in this test and check if the required flags are actually set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants