mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 20:29:23 +01:00
74e0ca3f49
PR-URL: https://github.com/nodejs/node/pull/49125 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
13 lines
223 B
JavaScript
13 lines
223 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const fs = require('fs');
|
|
|
|
const tmpdir = require('../common/tmpdir');
|
|
tmpdir.refresh();
|
|
|
|
const s = fs.createWriteStream(tmpdir.resolve('nocallback'));
|
|
|
|
s.end('hello world');
|
|
s.close();
|