1- #!/usr/bin/env node
21
3- const { existsSync} = require ( `fs` ) ;
4- const { createRequire, register} = require ( ` module` ) ;
5- const { resolve} = require ( ` path` ) ;
6- const { pathToFileURL} = require ( ` url` ) ;
2+ const { existsSync} = require ( "fs" ) ;
3+ const { createRequire, register} = require ( " module" ) ;
4+ const { resolve} = require ( " path" ) ;
5+ const { pathToFileURL} = require ( " url" ) ;
76
87const relPnpApiPath = "../../../../../.pnp.cjs" ;
98
109const absPnpApiPath = resolve ( __dirname , relPnpApiPath ) ;
11- const absUserWrapperPath = resolve ( __dirname , ` ./sdk.user.cjs` ) ;
10+ const absUserWrapperPath = resolve ( __dirname , " ./sdk.user.cjs" ) ;
1211const absRequire = createRequire ( absPnpApiPath ) ;
1312
14- const absPnpLoaderPath = resolve ( absPnpApiPath , ` ../.pnp.loader.mjs` ) ;
13+ const absPnpLoaderPath = resolve ( absPnpApiPath , " ../.pnp.loader.mjs" ) ;
1514const isPnpLoaderEnabled = existsSync ( absPnpLoaderPath ) ;
1615
1716if ( existsSync ( absPnpApiPath ) ) {
@@ -29,4 +28,4 @@ const wrapWithUserWrapper = existsSync(absUserWrapperPath)
2928 : exports => exports ;
3029
3130// Defer to the real eslint/use-at-your-own-risk your application uses
32- module . exports = wrapWithUserWrapper ( absRequire ( ` eslint/use-at-your-own-risk` ) ) ;
31+ module . exports = wrapWithUserWrapper ( absRequire ( " eslint/use-at-your-own-risk" ) ) ;
0 commit comments