We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1351872 commit 36c3bb2Copy full SHA for 36c3bb2
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@nevermined-io/cli",
3
- "version": "2.2.2",
+ "version": "2.2.3",
4
"main": "index.js",
5
"repository": "git@github.com:nevermined-io/cli.git",
6
"author": "Nevermined",
src/commands/nfts/deployNft.ts
@@ -28,7 +28,9 @@ export const deployNft = async (
28
logger.info(JSON.stringify(operators))
29
// INFO: We allow the Nevermined Node to fulfill the transfer condition in behalf of the user
30
// Typically this only needs to happen once per NFT contract
31
- operators.forEach((_addr: string) => {
+ operators
32
+ .filter((_addr: string) => _addr)
33
+ .forEach((_addr: string) => {
34
_addr = _addr.replace('\\', '')
35
logger.debug(`Checking address: ${_addr}`)
36
if (isValidAddress(_addr)) addressesToApprove.push(_addr)
0 commit comments