Skip to content

Commit

Permalink
test: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Aug 25, 2024
1 parent 5db128a commit 85b3e2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {mockPluginServer} from './plugins.utility';
const COMMANDS_PLUGIN = (name: string, {async = false, printOnBoot = false, thirdParty = false} = {}) => `
const factory = ${async ? `async` : ``} r => {
const {Command} = r('clipanion');
const {path} = r('node:path');
const path = r('node:path');
if (${printOnBoot})
console.log('Booting ${name.toUpperCase()}');
Expand All @@ -28,7 +28,7 @@ const factory = ${async ? `async` : ``} r => {
static paths = [['${name}', 'path']];
async execute() {
this.context.stdout.write('\${path.posix.join('a', 'b')}\\n');
this.context.stdout.write(path.posix.join('a', 'b') + '\\n');
}
},
],
Expand Down

0 comments on commit 85b3e2f

Please sign in to comment.