aboutsummaryrefslogtreecommitdiff
path: root/node_modules/source-map/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/source-map/README.md')
-rw-r--r--node_modules/source-map/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/source-map/README.md b/node_modules/source-map/README.md
index 99d38618d..32813394a 100644
--- a/node_modules/source-map/README.md
+++ b/node_modules/source-map/README.md
@@ -266,7 +266,7 @@ and an object is returned with the following properties:
* `line`: The line number in the original source, or null if this information is
not available.
-* `column`: The column number in the original source, or null or null if this
+* `column`: The column number in the original source, or null if this
information is not available.
* `name`: The original identifier, or null if this information is not available.
@@ -566,7 +566,7 @@ Creates a SourceNode from generated code and a SourceMapConsumer.
should be relative to.
```js
-var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map"));
+var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8"));
var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"),
consumer);
```