Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "chore(dep): temporary fix for fs-extra issue (to be reverted when fs-extra patches it)" #115

Merged
merged 1 commit into from
Apr 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 1 addition & 7 deletions lib/RollingFileWriteStream.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
const debug = require("debug")("streamroller:RollingFileWriteStream");

const realFs = require('fs');
const current = realFs.realpath.native;
// if (!realFs.realpath.native) realFs.realpath.native = realFs.realpath;
const fs = require('fs-extra');
realFs.realpath.native = current;

const fs = require("fs-extra");
const path = require("path");
const newNow = require("./now");
const format = require("date-format");
Expand Down
8 changes: 1 addition & 7 deletions lib/moveAndMaybeCompressFile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
const debug = require('debug')('streamroller:moveAndMaybeCompressFile');

const realFs = require('fs');
const current = realFs.realpath.native;
if (!realFs.realpath.native) realFs.realpath.native = realFs.realpath;
let fs = require('fs-extra');
realFs.realpath.native = current;

const fs = require('fs-extra');
const zlib = require('zlib');

const _parseOption = function(rawOptions){
Expand Down
42 changes: 0 additions & 42 deletions test/fs-extra-test.js

This file was deleted.