mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* update error instance (#46)
This commit is contained in:
parent
c4ec6ddf76
commit
3e015c8816
3 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ function getHomeDirectory(): string
|
|||
const home = process.env[homeEnv];
|
||||
if(home === undefined)
|
||||
{
|
||||
throw new Error(`${homeEnv} is not defined`);
|
||||
throw Error(`${homeEnv} is not defined`);
|
||||
}
|
||||
|
||||
return home;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue