Skip to content

Commit

Permalink
Merge pull request #204 from Esri/bitly
Browse files Browse the repository at this point in the history
chore(404): new bit.ly link in err message
  • Loading branch information
jgravois committed May 23, 2018
2 parents dc371be + 4976a2c commit e406915
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitignore
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
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
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 e406915

Please sign in to comment.