refac: include black
This commit is contained in:
@@ -277,11 +277,11 @@ class Pipe:
|
||||
content = _content;
|
||||
await tick();
|
||||
|
||||
if (res) {
|
||||
console.info('Code formatted successfully');
|
||||
|
||||
saveHandler();
|
||||
if (!res) {
|
||||
console.warn('Code formatting failed or was skipped, saving unformatted code');
|
||||
}
|
||||
|
||||
saveHandler();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -179,11 +179,11 @@ class Tools:
|
||||
content = _content;
|
||||
await tick();
|
||||
|
||||
if (res) {
|
||||
console.log('Code formatted successfully');
|
||||
|
||||
saveHandler();
|
||||
if (!res) {
|
||||
console.warn('Code formatting failed or was skipped, saving unformatted code');
|
||||
}
|
||||
|
||||
saveHandler();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user