Skip to content

Commit 80208b4

Browse files
author
Chris Portela
committed
Fixed get-schema after changes from facebook#2913
1 parent 4c08656 commit 80208b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-scripts/scripts/get-schema.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ function isURL(str) {
1717
return str.length < 2083 && url.test(str)
1818
}
1919

20-
const url = process.argv[2];
20+
const url = process.argv[3];
2121

22-
const saveJson = process.argv[3] === 'json';
22+
const saveJson = process.argv[4] === 'json';
2323

2424
if (!url) {
2525
console.log("Usage: get-schema " + chalk.green("url"));

0 commit comments

Comments
 (0)