redux-devtools/packages/devui/.scripts/get_gh_pages_url.js

12 lines
314 B
JavaScript
Raw Normal View History

2019-01-03 16:00:55 +03:00
// 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);