Skip to content

Commit

Permalink
(fix): issues with generated task code
Browse files Browse the repository at this point in the history
  • Loading branch information
jsantos98 committed Jul 16, 2024
1 parent 0e837e5 commit 4cb6629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions generators/task/templates/src/task.task.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Task, Dependencies, System, DI, TYPES, TaskBase } from "@criticalmanufacturing/connect-iot-controller-engine";
import { Task, System, TaskBase } from "@criticalmanufacturing/connect-iot-controller-engine";

/** Default values for settings */
export const SETTINGS_DEFAULTS: <%= className %>Settings = {
Expand Down Expand Up @@ -26,7 +26,7 @@ export const SETTINGS_DEFAULTS: <%= className %>Settings = {
* See {@see <%= className %>Settings}
*/
@Task.Task()
export class <%= className %>Task extends TaskBase implements <%= className %>Settings {
export class <%= className %>Task extends TaskBase implements <%= className %>Settings {

/** Accessor helper for untyped properties and output emitters. */
// [key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@criticalmanufacturing/generator-iot",
"version": "11.0.5",
"version": "11.0.6",
"description": "Connect IoT Scaffolding",
"files": [
"generators/*.js",
Expand Down

0 comments on commit 4cb6629

Please sign in to comment.