Skip to content

Commit

Permalink
test: require core modules with node:
Browse files Browse the repository at this point in the history
  • Loading branch information
zouguangxian committed Feb 8, 2024
1 parent e711ccc commit d354ab5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +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');
if (${printOnBoot})
console.log('Booting ${name.toUpperCase()}');
Expand Down

0 comments on commit d354ab5

Please sign in to comment.