@docmd/plugin-installer 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -98,7 +98,7 @@ function injectPluginToConfig(configPath, meta) {
|
|
|
98
98
|
function removePluginFromConfig(configPath, meta) {
|
|
99
99
|
if (!fs.existsSync(configPath))
|
|
100
100
|
return false;
|
|
101
|
-
|
|
101
|
+
const content = fs.readFileSync(configPath, 'utf8');
|
|
102
102
|
const configKey = meta.configKey;
|
|
103
103
|
if (!content.includes(configKey)) {
|
|
104
104
|
return false;
|