ssh-config
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,7 @@ | ||
3.0.1 / 2020-01-07 | ||
================== | ||
* Fix: append new section to empty config | ||
3.0.0 / 2019-12-12 | ||
@@ -2,0 +8,0 @@ ================== |
@@ -131,3 +131,3 @@ 'use strict' | ||
// https://github.com/cyjake/ssh-config/issues/23#issuecomment-564768248 | ||
if (lastLine.after === '\n') lastLine.after += '\n' | ||
if (lastLine && lastLine.after === '\n') lastLine.after += '\n' | ||
config.push(line) | ||
@@ -134,0 +134,0 @@ config = line.config = new SSHConfig() |
{ | ||
"name": "ssh-config", | ||
"description": "SSH config parser and stringifier", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"author": "Chen Yangjian (https://www.cyj.me)", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18114