Skip to content

Commit

Permalink
fixed node 13
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Jan 5, 2022
1 parent 1117edb commit 626e3a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/generator-reshow/generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = class extends YoGenerator {
}

async end() {
if (!this.options?.skipInstall) {
if (!this.options.skipInstall) {
const { say, onExit } = YoHelper(this);
await this.spawnCommand("./compile.sh", ["s", "open"]);
sonExit(() => ay("Check the web browser, it should autoload now."));
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-reshow/generators/library/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = class extends YoGenerator {
}

end() {
if (!this.options?.skipInstall) {
if (!this.options.skipInstall) {
const { say, onExit } = YoHelper(this);
onExit(() => say('Next you could try "npm run build" or "npm run test"'));
}
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-reshow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-reshow",
"version": "0.15.2",
"version": "0.15.3",
"description": "Yeoman generator for reshow. (app, generator, ...etc)",
"author": "Hill <[email protected]>",
"repository": {
Expand Down

0 comments on commit 626e3a2

Please sign in to comment.