Skip to content

Commit c1e2ec8

Browse files
authored
Merge pull request #329 from wizawu/master
Typo
2 parents 43b2687 + 966184f commit c1e2ec8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,7 @@ Creates a SourceNode from generated code and a SourceMapConsumer.
659659

660660
```js
661661
const consumer = await new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8"));
662-
onst node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"),
663-
consumer);
662+
const node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"), consumer);
664663
```
665664

666665
#### SourceNode.prototype.add(chunk)

0 commit comments

Comments
 (0)