diff --git a/index.js b/index.js index dbb420e..840d2af 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ try { mkdirSync(dirname(location), {recursive: true}); } - writeFileSync(location, key, {mode: 0o600}); + writeFileSync(location, `${key}\n`, {mode: 0o600}); info(`Wrote ${location}`); saveState('path', location); } catch (e) {