Skip to content

Commit 35c5214

Browse files
authored
[devcontainer] switch to /workspace/sentry (#2645)
This is less confusing otherwise we had: /workspace/sentry-ruby/sentry-ruby Which looked bad
1 parent 55ccf6b commit 35c5214

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sentry-ruby",
33
"dockerComposeFile": "docker-compose.yml",
44
"service": "app",
5-
"workspaceFolder": "/workspace/sentry-ruby",
5+
"workspaceFolder": "/workspace/sentry",
66
"customizations": {
77
"vscode": {
88
"extensions": [

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
IMAGE: ${IMAGE}
88
TAG: ${TAG}
99
volumes:
10-
- ..:/workspace/sentry-ruby:cached
10+
- ..:/workspace/sentry:cached
1111
command: sleep infinity
1212
environment:
1313
- REDIS_URL=${REDIS_URL:-redis://redis:6379/0}

sentry-ruby/spec/sentry/profiler_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,15 @@
239239
expect(foo_frame[:in_app]).to eq(true)
240240
expect(foo_frame[:lineno]).to eq(7)
241241
expect(foo_frame[:filename]).to eq('spec/sentry/profiler_spec.rb')
242-
expect(foo_frame[:abs_path]).to include('sentry-ruby/sentry-ruby/spec/sentry/profiler_spec.rb')
242+
expect(foo_frame[:abs_path]).to include('sentry-ruby/spec/sentry/profiler_spec.rb')
243243

244244
bar_frame = frames.find { |f| f[:function] =~ /bar/ }
245245
expect(bar_frame[:function]).to eq('Bar.bar')
246246
expect(bar_frame[:module]).to eq(nil)
247247
expect(bar_frame[:in_app]).to eq(true)
248248
expect(bar_frame[:lineno]).to eq(12)
249249
expect(bar_frame[:filename]).to eq('spec/sentry/profiler_spec.rb')
250-
expect(bar_frame[:abs_path]).to include('sentry-ruby/sentry-ruby/spec/sentry/profiler_spec.rb')
250+
expect(bar_frame[:abs_path]).to include('sentry-ruby/spec/sentry/profiler_spec.rb')
251251

252252
sleep_frame = frames.find { |f| f[:function] =~ /sleep/ }
253253
expect(sleep_frame[:function]).to eq('Kernel#sleep')

sentry-ruby/spec/sentry/vernier/profiler_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
expect(foo_frame[:in_app]).to eq(true)
189189
expect(foo_frame[:lineno]).to eq(6)
190190
expect(foo_frame[:filename]).to eq('spec/support/profiler.rb')
191-
expect(foo_frame[:abs_path]).to include('sentry-ruby/sentry-ruby/spec/support/profiler.rb')
191+
expect(foo_frame[:abs_path]).to include('sentry-ruby/spec/support/profiler.rb')
192192
end
193193

194194
it 'has correct stacks' do
@@ -274,7 +274,7 @@
274274
expect(foo_frame[:in_app]).to eq(true)
275275
expect(foo_frame[:lineno]).to eq(6)
276276
expect(foo_frame[:filename]).to eq('spec/support/profiler.rb')
277-
expect(foo_frame[:abs_path]).to include('sentry-ruby/sentry-ruby/spec/support/profiler.rb')
277+
expect(foo_frame[:abs_path]).to include('sentry-ruby/spec/support/profiler.rb')
278278
end
279279

280280
it 'has correct stacks', when: { ruby_version?: [:>=, "3.3"] } do

0 commit comments

Comments
 (0)