Skip to content

Commit d1bd0ef

Browse files
aduh95ruyadorno
authored andcommitted
doc: remove non-working example
PR-URL: #55856 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 824ac65 commit d1bd0ef

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

doc/api/sqlite.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,7 @@ import sqlite from 'node:sqlite';
2222
const sqlite = require('node:sqlite');
2323
```
2424

25-
This module is only available under the `node:` scheme. The following will not
26-
work:
27-
28-
```mjs
29-
import sqlite from 'sqlite';
30-
```
31-
32-
```cjs
33-
const sqlite = require('sqlite');
34-
```
25+
This module is only available under the `node:` scheme.
3526

3627
The following example shows the basic usage of the `node:sqlite` module to open
3728
an in-memory database, write data to the database, and then read the data back.

doc/api/test.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,7 @@ import test from 'node:test';
2727
const test = require('node:test');
2828
```
2929

30-
This module is only available under the `node:` scheme. The following will not
31-
work:
32-
33-
```mjs
34-
import test from 'test';
35-
```
36-
37-
```cjs
38-
const test = require('test');
39-
```
30+
This module is only available under the `node:` scheme.
4031

4132
Tests created via the `test` module consist of a single function that is
4233
processed in one of three ways:

0 commit comments

Comments
 (0)