From 755f380aae1390d12d30df6f986c7fa33ca0288f Mon Sep 17 00:00:00 2001 From: Mayur Kale Date: Fri, 28 Jun 2019 12:42:20 -0700 Subject: [PATCH] Minor formatting style (#68) --- .circleci/config.yml | 4 ++-- packages/opentelemetry-core/package.json | 4 ++-- packages/opentelemetry-types/src/index.ts | 4 ++-- packages/opentelemetry-types/src/trace/span.ts | 2 +- packages/opentelemetry-types/src/trace/span_context.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e61cba6ade..696fa5fd2d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ jobs: command: yarn run check - run: name: Compile - command: yarn run compile + command: yarn compile - run: name: Test - command: yarn run test + command: yarn test diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index 9cdda8c95a..6195a5452e 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -7,7 +7,7 @@ "repository": "open-telemetry/opentelemetry-js", "scripts": { "test": "nyc ts-mocha -p ./tsconfig.json test/**/*.ts", - "tdd": "yarn run test -- --watch-extensions ts --watch", + "tdd": "yarn test -- --watch-extensions ts --watch", "codecov": "nyc report --reporter=json && codecov -f coverage/*.json", "clean": "rimraf build/*", "check": "gts check", @@ -44,7 +44,7 @@ "codecov": "^3.1.0", "gts": "^1.0.0", "mocha": "^6.1.0", - "nyc": "14.0.0", + "nyc": "^14.0.0", "ts-mocha": "^6.0.0", "ts-node": "^8.0.0", "typescript": "^3.4.5" diff --git a/packages/opentelemetry-types/src/index.ts b/packages/opentelemetry-types/src/index.ts index 17c558c2f4..e5e6cd025b 100644 --- a/packages/opentelemetry-types/src/index.ts +++ b/packages/opentelemetry-types/src/index.ts @@ -15,11 +15,11 @@ */ export * from './resources/Resource'; +export * from './trace/attributes'; +export * from './trace/link'; export * from './trace/span'; export * from './trace/span_context'; export * from './trace/span_kind'; export * from './trace/status'; -export * from './trace/link'; -export * from './trace/attributes'; export * from './trace/trace_options'; export * from './trace/trace_state'; diff --git a/packages/opentelemetry-types/src/trace/span.ts b/packages/opentelemetry-types/src/trace/span.ts index 8ad9f5eebc..6f0f5be5c3 100644 --- a/packages/opentelemetry-types/src/trace/span.ts +++ b/packages/opentelemetry-types/src/trace/span.ts @@ -14,9 +14,9 @@ * limitations under the License. */ +import { Attributes } from './attributes'; import { SpanContext } from './span_context'; import { Status } from './status'; -import { Attributes } from './attributes'; /** * An interface that represents a span. A span represents a single operation diff --git a/packages/opentelemetry-types/src/trace/span_context.ts b/packages/opentelemetry-types/src/trace/span_context.ts index 182f9795b5..1f9496e2cf 100644 --- a/packages/opentelemetry-types/src/trace/span_context.ts +++ b/packages/opentelemetry-types/src/trace/span_context.ts @@ -14,8 +14,8 @@ * limitations under the License. */ -import { TraceState } from './trace_state'; import { TraceOptions } from './trace_options'; +import { TraceState } from './trace_state'; /** * A SpanContext represents the portion of a {@link Span} which must be