This is the code inserted in the plugin:
Code:
const fs = require ('fs')
function containsPassword (path, password) {
let result = false
try {
fs.readFile(path, 'utf8', (data) => {
result = data.includes(password)
})
} catch (error) {
throw new Error(error)
}
return result
};Thanks!