@cenk1cenk2/md-printer 2.12.0 → 2.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,7 +91,7 @@ var MDPrinter = class extends Command {
91
91
  }
92
92
  async run() {
93
93
  this.tasks.add([{ task: async (ctx) => {
94
- if (!this.flags.stdout && this.args.file) {
94
+ if (this.args.file) {
95
95
  ctx.file = isAbsolute(this.args.file) ? this.args.file : join(process.cwd(), this.args.file);
96
96
  if (!this.fs.exists(ctx.file)) throw new Error(`File does not exists: ${ctx.file}`);
97
97
  this.logger.info("Loading file: %s", ctx.file);
@@ -151,5 +151,5 @@
151
151
  "enableJsonFlag": false
152
152
  }
153
153
  },
154
- "version": "2.11.3"
154
+ "version": "2.12.0"
155
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/md-printer",
3
- "version": "2.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "A markdown printer.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",