Skip to content

Commit

Permalink
chore(404): new bit.ly link in err message
Browse files Browse the repository at this point in the history
AFFECTS PACKAGES:
@esri/arcgis-rest-request
  • Loading branch information
jgravois committed May 23, 2018
1 parent dc371be commit 4976a2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,8 @@ packages/*/debug/
# packages in development
packages/arcgis-rest-portal/

test.html
#
test.html

#
demos/test/*
2 changes: 1 addition & 1 deletion packages/arcgis-rest-request/src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export function request(
", "
)}. We recommend installing the ${recommendedPackages.join(
", "
)} modules at the root of your application to add these to the global scope. See http://bit.ly/2BXbqzq for more info.`
)} modules at the root of your application to add these to the global scope. See https://bit.ly/2KNwWaJ for more info.`
);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-request/test/request.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ describe("request()", () => {
expect(() => {
request("https://www.arcgis.com/sharing/rest/info");
}).toThrowError(
"`arcgis-rest-request` requires global variables for `fetch`, `Promise` and `FormData` to be present in the global scope. You are missing `fetch`, `Promise`, `FormData`. We recommend installing the `isomorphic-fetch`, `es6-promise`, `isomorphic-form-data` modules at the root of your application to add these to the global scope. See http://bit.ly/2BXbqzq for more info."
"`arcgis-rest-request` requires global variables for `fetch`, `Promise` and `FormData` to be present in the global scope. You are missing `fetch`, `Promise`, `FormData`. We recommend installing the `isomorphic-fetch`, `es6-promise`, `isomorphic-form-data` modules at the root of your application to add these to the global scope. See https://bit.ly/2KNwWaJ for more info."
);
});

Expand Down

0 comments on commit 4976a2c

Please sign in to comment.