1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

* use double quotes for string

This commit is contained in:
shimataro 2019-09-18 22:19:02 +09:00
parent df93f2048e
commit e9c10d6221
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
4 changed files with 20 additions and 20 deletions

View file

@ -18,9 +18,9 @@ function main() {
recursive: true,
mode: 0o700,
});
const privateKey = core.getInput('private-key');
const publicKey = core.getInput('public-key');
const name = core.getInput('name');
const privateKey = core.getInput("private-key");
const publicKey = core.getInput("public-key");
const name = core.getInput("name");
const fileName = path.resolve(dirName, name);
fs.writeFileSync(fileName, privateKey, {
mode: 0o400,