mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Changed http to https links
no issue - use https - replace broken links e.g. docs.ghost.org/themes
This commit is contained in:
parent
847d4b2f01
commit
cb03ca2529
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user