Skip to content
This repository was archived by the owner on Nov 18, 2018. It is now read-only.
This repository was archived by the owner on Nov 18, 2018. It is now read-only.

NPE while saving an unmodified file #1

Closed
@innerjoin

Description

@innerjoin

If you save a file which has not been modified, the webpack build will be triggered and the plug-in will fail with an exception
Where: index.js:41 @ const toReplace = source.match(replacementExpr)[1];
Error: TypeError: Cannot read property '1' of null
AND
Where: index.js:40 @ const depExtractions = source.match(dependencyExtractorExpr);
Error: NPE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions