Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
kota65535 committed Sep 15, 2023
1 parent cf0dba0 commit ef9b4f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ class OidcClient {
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) {
Expand Down Expand Up @@ -3203,7 +3203,7 @@ const run = (callback) => {
fs.appendFileSync(configFile, "tls-auth ta.key 1\n");
fs.writeFileSync("ta.key", tlsAuthKey, { mode: 0o600 });
}

if (tlsCryptKey) {
fs.appendFileSync(configFile, "tls-crypt tc.key 1\n");
fs.writeFileSync("tc.key", tlsCryptKey, { mode: 0o600 });
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const run = (callback) => {
fs.appendFileSync(configFile, "tls-auth ta.key 1\n");
fs.writeFileSync("ta.key", tlsAuthKey, { mode: 0o600 });
}

if (tlsCryptKey) {
fs.appendFileSync(configFile, "tls-crypt tc.key 1\n");
fs.writeFileSync("tc.key", tlsCryptKey, { mode: 0o600 });
Expand Down

0 comments on commit ef9b4f7

Please sign in to comment.