Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

zone-node breaks util.promisify #1094

Description

@marcinnajder

Hi

// zone.js: 0.8.26// node: v8.11.1require('zone.js/dist/zone-node');constutil=require("util");constfs=require("fs");constexists=util.promisify(fs.exists);exists(__filename).then(e=>console.log("files exists:",e),err=>console.log("error ????? : ",err));

after calling this script

error ????? : true -> with require('zone.js/dist/zone-node');
files exists: true -> without require('zone.js/dist/zone-node');

It looks like zone-node breaks fs.exists[promisify.custom] mechanism

regards,
marcin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions