File tree Expand file tree Collapse file tree 3 files changed +90
-187
lines changed
Expand file tree Collapse file tree 3 files changed +90
-187
lines changed Original file line number Diff line number Diff line change 1313 "devDependencies" : {
1414 "@oclif/plugin-command-snapshot" : " ^5.0.5" ,
1515 "@salesforce/cli-plugins-testkit" : " ^5.1.3" ,
16- "@salesforce/dev-scripts" : " ^8.1.2 " ,
16+ "@salesforce/dev-scripts" : " ^8.1.3 " ,
1717 "@salesforce/plugin-command-reference" : " ^3.0.58" ,
18- "eslint-plugin-sf-plugin" : " ^1.16.15 " ,
18+ "eslint-plugin-sf-plugin" : " ^1.17.0 " ,
1919 "oclif" : " ^4" ,
2020 "shx" : " 0.3.4" ,
2121 "ts-node" : " ^10.9.2" ,
Original file line number Diff line number Diff line change 55 * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66 */
77
8- import { dirname } from 'node:path' ;
9- import { fileURLToPath } from 'node:url' ;
8+
9+
1010import { SfCommand , Flags } from '@salesforce/sf-plugins-core' ;
1111import { Messages } from '@salesforce/core' ;
1212
13- Messages . importMessagesDirectory ( dirname ( fileURLToPath ( import . meta. url ) ) ) ;
13+ Messages . importMessagesDirectoryFromMetaUrl ( import . meta. url )
1414const messages = Messages . loadMessages ( '@salesforce/plugin-template-sf' , 'hello.world' ) ;
1515
1616export type HelloWorldResult = {
You can’t perform that action at this time.
0 commit comments