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

Debugger: detect default source context #853

Merged
merged 3 commits into from
Jan 19, 2018
Merged

Debugger: detect default source context #853

merged 3 commits into from
Jan 19, 2018

Conversation

chingor13
Copy link
Contributor

The source-contexts.json file is being deprecated in favor of source-context.json. The gcloud sdk will stop generating the plural version at some point in the future.

This PR switches the default source context parsing to read from the singular version if the file exists.

source-contexts.json is deprecated and should not be used. Currently,
gcloud produces both, but will only create the singular form in the future.
@chingor13 chingor13 requested a review from tmatsuo as a code owner January 18, 2018 23:54
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 18, 2018
$this->client->debuggee(null, Argument::withEntry('extSourceContexts', [$expectedSourceContext]))
->willReturn($this->debuggee->reveal())->shouldBeCalled();

$root = implode(DIRECTORY_SEPARATOR, [__DIR__, 'example']);

This comment was marked as spam.

This comment was marked as spam.

@chingor13 chingor13 merged commit 243813a into googleapis:master Jan 19, 2018
@chingor13 chingor13 deleted the debugger-source-context branch January 19, 2018 18:47
@dwsupplee dwsupplee mentioned this pull request Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants