Skip to content

Commit

Permalink
fix: added missing "Done!" message at end of build command
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Apr 22, 2018
1 parent 608f963 commit a05f2c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

import chalk from "chalk"
import { PluginContext } from "../plugin-context"
import { BooleanParameter, Command, ParameterValues, StringParameter } from "./base"
import { BuildTask } from "../tasks/build"
Expand Down Expand Up @@ -44,6 +45,11 @@ export class BuildCommand extends Command<typeof buildArguments, typeof buildOpt

ctx.log.header({ emoji: "hammer", command: "build" })

return await ctx.processTasks()
const result = await ctx.processTasks()

ctx.log.info("")
ctx.log.info({ emoji: "heavy_check_mark", msg: chalk.green("Done!\n") })

return result
}
}

0 comments on commit a05f2c5

Please sign in to comment.