Skip to content

Commit

Permalink
fix replace break
Browse files Browse the repository at this point in the history
  • Loading branch information
CKGrafico committed Apr 11, 2023
1 parent 732202e commit 35d3991
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions compiler/platforms/vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ const DEFAULT_OPTIONS = {
const interfacesWithProps = {};
let match;

if (pascalName.includes('olumn')) {
console.log(pascalName);
}

while ((match = regex1.exec(result)) !== null) {
const [interfaceDef] = match;
const interfaceName = interfaceDef
Expand All @@ -28,7 +24,7 @@ const DEFAULT_OPTIONS = {
.replace(/\{/g, '')
.replace(/interface/g, '')
.replace(/(extends)/g, ' $1')
.replace(/\r/g, ' ')
.replace(/(\r\n|\n|\r)/g, ' ')
.trim();

if (interfaceName.includes('Props')) {
Expand Down

0 comments on commit 35d3991

Please sign in to comment.