Skip to content

fix(lib): remove duplicate zeroPad function#2

Open
antoineauger wants to merge 1 commit into
Daghall:masterfrom
antoineauger:fix/remove-duplicate-zeropad-function
Open

fix(lib): remove duplicate zeroPad function#2
antoineauger wants to merge 1 commit into
Daghall:masterfrom
antoineauger:fix/remove-duplicate-zeropad-function

Conversation

@antoineauger

Copy link
Copy Markdown

Hello there,

Thanks for maintaining this library.

We encounter some errors with the latest 2.2.0 release (transitive deps used by one of our tools) where the zeroPad function is duplicated:

...
[vite-plugin-pwa:build] Identifier 'zeroPad' has already been declared (123:9) in /app/node_modules/.pnpm/run-pace@2.2.0/node_modules/run-pace/lib/run-pace.js
file: /app/node_modules/.pnpm/run-pace@2.2.0/node_modules/run-pace/lib/run-pace.js:123:9
121: }
122: 
123: function zeroPad(number) {
              ^
124:   return `0${number}`.slice(-2);
125: }
...

I believe that this is a leftover of eeca7fa.

Could you please have a look here @Daghall? 🙏🏻

🛠️ with ❤️ by Siemens

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant