Installed polymer-modulizer and tried to run modulizer. I tried this in different projects and tried running the command a directory where no polymer project exists. But following error comes in every attempt.
$ modulizer --import-style name --out .
Git repo is dirty. Check all changes in to source control and then try again.
You can add param --force to ignore that:
if (!options.force && isRepo && (stdout || stderr)) {
console.error(
`Git repo is dirty. Check all changes in to source control and ` +
`then try again.`);
process.exit(1);
}
Hi Donskelle,
I'm encountering the same issue when trying to run modulizer. I'm new to Polymer and wondering if you could help explain where I could add the param you shared? Many thanks in advance.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
You can add param --force to ignore that: