Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull getImportResult to shared resolver #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

subbuvenk-atlas
Copy link
Contributor

Description

Pulls out the resolver for getImportResult to shared so that it can be used as an admin resolver as well. Fixes the following issue thrown on the connected state page.

Error: Resolver has no definition for 'project/import/result'.
    at Resolver.getFunction (webpack://insert-name-here/node_modules/@forge/resolver/out/index.js:47:1)
    at Object.resolve (webpack://insert-name-here/node_modules/@forge/resolver/out/index.js:54:1)
    at /private/var/folders/l2/_4qylv252d30v7kqnbtrlb6r0000gn/T/forge-dist-31080-DgA5Wpb2Kupm/__forge_wrapper__.cjs:2:583386
    at w (/private/var/folders/l2/_4qylv252d30v7kqnbtrlb6r0000gn/T/forge-dist-31080-DgA5Wpb2Kupm/__forge_wrapper__.cjs:2:583392)
    at new Promise (<anonymous>)
    at /private/var/folders/l2/_4qylv252d30v7kqnbtrlb6r0000gn/T/forge-dist-31080-DgA5Wpb2Kupm/__forge_wrapper__.cjs:2:583149
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at r.<computed> (/private/var/folders/l2/_4qylv252d30v7kqnbtrlb6r0000gn/T/forge-dist-31080-DgA5Wpb2Kupm/__forge_wrapper__.cjs:2:582082)
    at process.<anonymous> (/Users/svenkateswaran/.nvm/versions/node/v20.14.0/lib/node_modules/@forge/cli/node_modules/@forge/tunnel/out/sandbox/sandbox-runner.js:7:26)
    at process.emit (node:events:519:28)

Checklist

Please ensure that each of these items has been addressed:

  • I have tested these changes in my local environment
  • I have added/modified tests as applicable to cover these changes
  • (Atlassian contributors only) I have removed any Atlassian-internal changes including internal modules, references to internal tickets, and internal wiki links

@subbuvenk-atlas subbuvenk-atlas requested a review from a team as a code owner December 12, 2024 23:44
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