Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
joon610 committed Nov 20, 2019
1 parent 706841c commit 93da0f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ https://github.com/joon610/mock-server/releases/download/0.1.0/mock-server.Setup

MIT License

## Project setup
## Project setupø
```
yarn install
```
Expand Down
6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
const shell = require('electron').shell;
import { Component, Vue } from "vue-property-decorator";
const shell = require("electron").shell;
@Component
export default class ComponentName extends Vue {
private openBrowser(): void {
shell.openExternalSync('https://github.com/joon610/mock-server/releases');
shell.openExternalSync("https://github.com/joon610/mock-server/releases");
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/utils/filetreeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export default class FiletreeUtils {
private readJson(indexPath: string): object | undefined {
try {
const readJson = JSON.parse(fs.readFileSync(indexPath));
const result = readJson['data'] ? readJson['data'] : readJson;
return result;
// const result = readJson['data'] ? readJson['data'] : readJson;
return readJson;
} catch {
return undefined;
}
Expand Down

0 comments on commit 93da0f4

Please sign in to comment.