Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,20 +119,20 @@ jobs:
CYPRESS_RETRIES=5 npm run test:e2e
fi

- stage: Tests
name: Dead link check
language: node_js
node_js: 12
if: type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable|beta)$/ OR type = cron

before_script:
- npm ci
- npm run doc-prepare
- $(npm bin)/kuzdoc iterate-repos:install --repos_path doc/framework/.repos/
- $(npm bin)/kuzdoc framework:link -d /sdk/js/7/ -v 7
script:
- gem install typhoeus
- cd doc/framework/ && HYDRA_MAX_CONCURRENCY=20 travis_retry ruby .ci/dead-links.rb -p src/sdk/js/7/
# - stage: Tests
# name: Dead link check
# language: node_js
# node_js: 12
# if: type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable|beta)$/ OR type = cron

# before_script:
# - npm ci
# - npm run doc-prepare
# - $(npm bin)/kuzdoc iterate-repos:install --repos_path doc/framework/.repos/
# - $(npm bin)/kuzdoc framework:link -d /sdk/js/7/ -v 7
# script:
# - gem install typhoeus
# - cd doc/framework/ && HYDRA_MAX_CONCURRENCY=20 travis_retry ruby .ci/dead-links.rb -p src/sdk/js/7/

- stage: Deployment Doc Dev
name: Deploy next-docs.kuzzle.io
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kuzzle-sdk",
"version": "7.4.2",
"version": "7.4.3",
"description": "Official Javascript SDK for Kuzzle",
"author": "The Kuzzle Team <support@kuzzle.io>",
"repository": {
Expand Down
7 changes: 0 additions & 7 deletions src/KuzzleError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ export class KuzzleError extends Error {
});
}

if (stack) {
const lines = stack.split('\n');
lines[0] += apiError.message;
lines[3] = ' 🡆 ' + lines[3].trimStart();
this.stack = lines.join('\n');
}

this.id = apiError.id;
this.code = apiError.code;

Expand Down