Yuki Takei 9 anos atrás
pai
commit
de6a755c8a

+ 1 - 1
packages/growi-commons/package.json

@@ -1,6 +1,6 @@
 {
   "name": "crowi-pluginkit",
-  "version": "1.0.4",
+  "version": "1.0.5",
   "description": "The Crowi Plugin Kit to develop plugins",
   "main": "lib/index.js",
   "files": [

+ 1 - 1
packages/growi-commons/src/util/ModulePathResolver.js

@@ -7,7 +7,7 @@ import * as appRoot from 'app-root-path';
 export class ModulePathResolver {
 
   relativeFromRoot(modulePath) {
-    return path.relative(appRoot.path, path.join(__dirname, modulePath))
+    return path.relative(appRoot.path, modulePath)
   }
 
 }