Skip to content

Check the dynamic satellite ID is a valid canister ID #115

@peterpeterparker

Description

@peterpeterparker

In

if (isNullish(satelliteId)) {

I should add a check to test the satellite because it can be <DEV_SATELLITE_ID> - i.e. not defined yet which lead to the "issue":

juno-skylab-1  | ️‼️  Unexpected error while fetching current module hash: Error: Invalid character: "<"
juno-skylab-1  |     at p (file:///juno/cli/dist/index.js:4:29568)
juno-skylab-1  |     at Tie (file:///juno/cli/dist/index.js:4:29699)
juno-skylab-1  |     at t.fromText (file:///juno/cli/dist/index.js:4:43287)
juno-skylab-1  |     at t.from (file:///juno/cli/dist/index.js:4:42820)
juno-skylab-1  |     at g4.currentModuleHash (file:///juno/cli/dist/index.js:506:58069)
juno-skylab-1  |     at g4.register (file:///juno/cli/dist/index.js:506:57502)
juno-skylab-1  |     at Pu.fne (file:///juno/cli/dist/index.js:506:58658)
juno-skylab-1  |     at async Pu.onExec (file:///juno/cli/dist/index.js:506:56211)
juno-skylab-1  |     at async exec (file:///juno/cli/dist/index.js:506:54356)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions