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

handle case when spreadsheet URL has parameters #83

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

smcjones
Copy link
Collaborator

@smcjones smcjones commented Dec 3, 2024

Sometimes SpreadsheetApp.getActive().getUrl() returns a parameter, and
sometimes it doesn't. This PR resolves a bug in an edge case and includes a test
to validate that it works.

Because we're using pure GAS we can't include module exports, so exposed code
needs to be exported as globalThis instead.

@gps-readability-bot
Copy link

Readability approvals granted:

  • JavaScript-Readability-Review - EXEMPT
    [smcjones]

1 similar comment
@gps-readability-bot
Copy link

Readability approvals granted:

  • JavaScript-Readability-Review - EXEMPT
    [smcjones]

@smcjones smcjones force-pushed the cm360-geturl branch 3 times, most recently from 7e0ba2f to 75c086e Compare December 5, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant