@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.
- package/dist/commands/index.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/commands/index.js
CHANGED
|
@@ -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 (
|
|
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);
|
package/oclif.manifest.json
CHANGED