https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38854

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from David Nind <[email protected]> ---
I attempted to test, but don't get the error before the patch.

1. I ran: 

yarn add prettier
yarn add v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@redocly/cli > redoc > @cfaester/[email protected]" has
unmet peer dependency "enzyme@^3.11.0".
warning " > [email protected]" has unmet peer dependency
"eslint@>=7.0.0".
warning " > [email protected]" has unmet peer dependency
"eslint@>=8.0.0".
warning "swagger-cli > @apidevtools/swagger-cli >
@apidevtools/[email protected]" has unmet peer dependency
"openapi-types@>=7".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 58.41s.

2. Prettier version after update:

prettier --version
3.4.2

3. Output:

prettier koha-tmpl/intranet-tmpl/prog/js/vue/components/ToolbarButton.vue
<template>
    <router-link :to="to" :class="class"
        ><font-awesome-icon v-if="icon" :icon="icon" /> {{ title
}}</router-link
    >
</template>

<script>
export default {
    props: {
        to: {
            type: [String, Object],
        },
        class: {
            type: String,
            default: "btn btn-default",
        },
        icon: {
            type: String,
            required: false,
        },
        title: {
            type: String,
        },
    },
    name: "Toolbar",
}
</script>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to