Changed http to https links

no issue

- use https
- replace broken links e.g. docs.ghost.org/themes
This commit is contained in:
kirrg001 2018-07-20 23:42:39 +02:00 committed by Katharina Irrgang
parent 847d4b2f01
commit cb03ca2529

View File

@ -30,7 +30,7 @@ function parsePackageJson(path) {
if (!hasRequiredKeys) { if (!hasRequiredKeys) {
err = new Error(common.i18n.t('errors.utils.parsepackagejson.nameOrVersionMissing')); err = new Error(common.i18n.t('errors.utils.parsepackagejson.nameOrVersionMissing'));
err.context = path; err.context = path;
err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'http://themes.ghost.org/v1.23.0/'}); err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'https://themes.ghost.org/'});
return Promise.reject(err); return Promise.reject(err);
} }
@ -39,7 +39,7 @@ function parsePackageJson(path) {
} catch (parseError) { } catch (parseError) {
err = new Error(common.i18n.t('errors.utils.parsepackagejson.themeFileIsMalformed')); err = new Error(common.i18n.t('errors.utils.parsepackagejson.themeFileIsMalformed'));
err.context = path; err.context = path;
err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'http://themes.ghost.org/v1.23.0/'}); err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'https://themes.ghost.org/'});
return Promise.reject(err); return Promise.reject(err);
} }