Skip to content

handle malformed .version-everything.js files #3

Description

@joemaller

If the file doesn't export a files property, the version-everything command fails in an ugly way.

This doesn't work:

module.exports = [
  "testfile.php",
  "readme.txt"
];

If the first line was module.exports.files = [, it would work.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions