ts-command-line-args
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -177,6 +177,3 @@ "use strict"; | ||
if (snippetResult != null && copyBelowIndex < 0) { | ||
console.log("snippetResult: ", snippetResult); | ||
console.log("snippetResult[1]: ", snippetResult[1]); | ||
console.log("line: ", result.line); | ||
throw new Error("The copyCodeBelow marker '" + options.copyCodeBelow + "' was not found with the requested snippet " + snippetResult[1]); | ||
throw new Error("The copyCodeBelow marker '" + options.copyCodeBelow + "' was not found with the requested snippet: '" + snippetResult[1] + "'"); | ||
} | ||
@@ -183,0 +180,0 @@ contentLines = contentLines.slice(copyBelowIndex + 1, copyAboveIndex > 0 ? copyAboveIndex : undefined); |
{ | ||
"name": "ts-command-line-args", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "A Typescript wrapper around command-line-args with additional support for markdown usage guide generation", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -139,8 +139,4 @@ import { IInsertCodeOptions } from '../contracts'; | ||
if (snippetResult != null && copyBelowIndex < 0) { | ||
console.log(`snippetResult: `, snippetResult); | ||
console.log(`snippetResult[1]: `, snippetResult[1]); | ||
console.log(`line: `, result.line); | ||
throw new Error( | ||
`The copyCodeBelow marker '${options.copyCodeBelow}' was not found with the requested snippet ${snippetResult[1]}`, | ||
`The copyCodeBelow marker '${options.copyCodeBelow}' was not found with the requested snippet: '${snippetResult[1]}'`, | ||
); | ||
@@ -147,0 +143,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
798163
6456