Skip to content

Commit

Permalink
Attempting to fix weird path issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
F1LT3R committed Apr 7, 2018
1 parent e8738a6 commit 7cc6ef8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions index.js
@@ -1,10 +1,12 @@
const path = require('path')

const arrayUniq = require('array-uniq')
const ansiRegex = require('ansi-regex')
const superSplit = require('super-split')
const stripAnsi = require('strip-ansi')

const ansiTags = require('./ansi-seqs-to-ansi-tags')
const decorators = require('./ansi-tags-to-decorator-names')
const ansiTags = require(path.join(__dirname, './ansi-seqs-to-ansi-tags'))
const decorators = require(path.join(__dirname, './ansi-tags-to-decorator-names'))

const meassureTextArea = plainText => {
const lines = plainText.split('\n')
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "parse-ansi",
"main": "parse-ansi",
"version": "1.0.0",
"version": "1.0.1",
"description": "馃 Parse ANSI text into an array of ansi-tags and text-chunks.",
"license": "MIT",
"repository": "F1LT3R/parse-ansi",
Expand Down

0 comments on commit 7cc6ef8

Please sign in to comment.