Skip to content

Commit

Permalink
fix readable-stream import
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed May 29, 2023
1 parent 5d4298c commit a8bf3bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const semver = require('semver');
const slash = require('slash');
const {TrackerGroup} = require('are-we-there-yet');
const {transform} = require('p-transform');
const readableStream = require('readable-stream');
const {Stream} = require('readable-stream');

const {pipeline} = readableStream.promises;
const {pipeline} = Stream.promises;

const ENVIRONMENT_VERSION = require('../package.json').version;
const Store = require('./store');
Expand Down
4 changes: 2 additions & 2 deletions test/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const {
createYoRcTransform,
createConflicterStatusTransform
} = require('yeoman-environment/transform');
const readableStream = require('readable-stream');
const {Stream} = require('readable-stream');
const {Readable} = require('stream');

const {pipeline} = readableStream.promises;
const {pipeline} = Stream.promises;

describe('Transform stream', () => {
let unmodifiedFile;
Expand Down

0 comments on commit a8bf3bc

Please sign in to comment.