Skip to content

Commit

Permalink
Hiding govuk-frontend uninstall until we deal with dependent plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliecarey committed May 11, 2023
1 parent 39ec3fa commit 6cef5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manage-prototype-handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ async function getPluginDetails () {
const pluginPkgPath = path.join(projectDir, 'node_modules', pack.packageName, 'package.json')
const pluginPkg = await fse.pathExists(pluginPkgPath) ? await fse.readJson(pluginPkgPath) : {}
pack.installedVersion = pluginPkg.version
if (!['govuk-prototype-kit'].includes(pack.packageName)) {
if (!['govuk-prototype-kit', 'govuk-frontend'].includes(pack.packageName)) {
pack.uninstallLink = `${contextPath}/plugins/uninstall?package=${encodeURIComponent(pack.packageName)}`
}
}
Expand Down

0 comments on commit 6cef5c0

Please sign in to comment.