Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Apr 24, 2024
1 parent 5675840 commit cd6f4cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the 8.0 channel
- name: Versions
run: node -v && npm -v && dotnet --version && node -p process.arch
run: node -v && npm -v && dotnet --version && node -p process.platform && node -p process.arch
- if: runner.os == 'macOS'
name: Remove Mono from macOS
run: |
Expand Down
15 changes: 8 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,14 @@ useDynamicInput('Node.Js', function(error, result) {
console.log();
});

listCertificates({ storeName: 'My', storeLocation: 'LocalMachine' }, function(error, result) {
if (error) throw error;
console.log(localTypeName + '.ListCertificates');
console.log(result);
console.log();
});

if(!process.platform === 'linux'){
listCertificates({ storeName: 'My', storeLocation: 'LocalMachine' }, function(error, result) {
if (error) throw error;
console.log(localTypeName + '.ListCertificates');
console.log(result);
console.log();
});
}

console.log();
console.log('### Handling exception');
Expand Down

0 comments on commit cd6f4cd

Please sign in to comment.