milkee-plugin-prettier 0.0.6 → 0.0.7
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/main.js +1 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -142,14 +142,12 @@ formatCoffeeFiles = async function(targetDir, opts = {}) {
|
|
|
142
142
|
if (ig != null) {
|
|
143
143
|
rel = path.relative(projectRoot, file).split(path.sep).join('/');
|
|
144
144
|
if (ig.ignores(rel)) {
|
|
145
|
-
c.info(`Ignored by prettierignore patterns: ${file}`);
|
|
146
145
|
continue;
|
|
147
146
|
}
|
|
148
147
|
} else if (ignorePath != null) {
|
|
149
148
|
try {
|
|
150
149
|
info = (await prettier.getFileInfo(file, {ignorePath}));
|
|
151
150
|
if (info != null ? info.ignored : void 0) {
|
|
152
|
-
c.info(`Ignored by .prettierignore: ${file}`);
|
|
153
151
|
continue;
|
|
154
152
|
}
|
|
155
153
|
} catch (error1) {
|
|
@@ -168,7 +166,7 @@ formatCoffeeFiles = async function(targetDir, opts = {}) {
|
|
|
168
166
|
formattedCount += 1;
|
|
169
167
|
c.success(`Formatted: ${file}`);
|
|
170
168
|
} else {
|
|
171
|
-
c.
|
|
169
|
+
c.info(`Unchanged: ${file}`);
|
|
172
170
|
}
|
|
173
171
|
} catch (error1) {
|
|
174
172
|
error = error1;
|