melody-code-frame
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -85,3 +85,2 @@ 'use strict'; | ||
if (colNumber) { | ||
//params.line = params.line.substring(0, colNumber) + chalk.underline(params.line.substring(colNumber, colNumber + length)) + params.line.substring(colNumber + length, params.line.length - 1); | ||
params.line += '\n' + params.before + _repeat(' ', params.width) + params.after + _repeat(' ', colNumber) + _repeat('^', length); | ||
@@ -88,0 +87,0 @@ } |
{ | ||
"name": "melody-code-frame", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -36,3 +36,2 @@ /** | ||
if (colNumber) { | ||
//params.line = params.line.substring(0, colNumber) + chalk.underline(params.line.substring(colNumber, colNumber + length)) + params.line.substring(colNumber + length, params.line.length - 1); | ||
params.line += `\n${params.before}${repeat( | ||
@@ -39,0 +38,0 @@ ' ', |
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
27894
7
323