qleaner 1.0.20 → 1.0.21
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/controllers/image.js +1 -2
- package/package.json +1 -1
package/controllers/image.js
CHANGED
|
@@ -145,9 +145,8 @@ async function getUnusedImages(chalk, imageDirectory, codeDirectory, options) {
|
|
|
145
145
|
let i = 0
|
|
146
146
|
let isFound = false;
|
|
147
147
|
while(!isFound && i < combinedImages.length) {
|
|
148
|
-
const imageFilePath = await resolver(
|
|
148
|
+
const imageFilePath = await resolver(imageDirectory, combinedImages[i].value);
|
|
149
149
|
const filePath = path.resolve(file);
|
|
150
|
-
console.log(chalk.yellow(filePath), chalk.blue(imageFilePath));
|
|
151
150
|
if(compareFiles(filePath, imageFilePath)) {
|
|
152
151
|
isFound = true;
|
|
153
152
|
break;
|