Skip to content

Commit

Permalink
Merge pull request #2841 from qmonmert/vue/cleancode
Browse files Browse the repository at this point in the history
Vue: clean code
  • Loading branch information
pascalgrimaud authored Jul 30, 2022
2 parents ec97af7 + 6129f76 commit bbf5a1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public JHipsterModule buildPiniaModule(JHipsterModuleProperties properties) {

private String piniaImports() {
return """
import {createPinia} from 'pinia';
import piniaPersist from 'pinia-plugin-persist'
import { createPinia } from 'pinia';
import piniaPersist from 'pinia-plugin-persist';
""";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ void shouldCreatePiniaModule() {
.containing(nodeDependency("@pinia/testing"))
.and()
.createFile("src/main/webapp/app/main.ts")
.containing("import {createPinia} from 'pinia';")
.containing("import piniaPersist from 'pinia-plugin-persist'")
.containing("import { createPinia } from 'pinia';")
.containing("import piniaPersist from 'pinia-plugin-persist';")
.containing(
"""
const pinia = createPinia();
Expand Down

0 comments on commit bbf5a1e

Please sign in to comment.