Skip to content

Commit

Permalink
testing node fails
Browse files Browse the repository at this point in the history
  • Loading branch information
SparshithNR committed Jan 6, 2020
1 parent e1bce46 commit 913f60b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class FSUpdater {
if (options.retry == null) options.retry = true;
this.options = options;
this._logger = loggerGen("FSUpdater");
// eslint-disable-next-line no-console
console.log(`fs.exist ${outputPath} and ${fs.existsSync(outputPath)}`);

if (fs.existsSync(outputPath)) {
fs.rmdirSync(outputPath);
Expand Down
2 changes: 0 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ describe("FSUpdater", () => {
});

it("must not be a symlink", () => {
// eslint-disable-next-line no-console
console.log(`fs.exist_1 ${fs.existsSync('tmp/out')}`);
fs.symlinkSync(".", "tmp/out");
expect(() => {
// eslint-disable-next-line no-console
Expand Down

0 comments on commit 913f60b

Please sign in to comment.