redux-devtools/packages/devui/.scripts/get_gh_pages_url.js
2019-01-10 20:51:14 +02:00

13 lines
316 B
JavaScript
Executable File

// IMPORTANT
// ---------
// This is an auto generated file with React CDK.
// Do not modify this file.
const parse = require('git-url-parse');
var ghUrl = process.argv[2];
const parsedUrl = parse(ghUrl);
const ghPagesUrl =
'https://' + parsedUrl.owner + '.github.io/' + parsedUrl.name;
console.log(ghPagesUrl);