From 49b5b4412ff38107ccfb284720576d13150934e5 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 27 Nov 2020 18:21:26 +0100 Subject: [PATCH] Fix require paths shown in contributing doc Change the example code in the contributing doc to use the clusterio org when referencing the lib package. --- docs/contributing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index beca0b72..a049cf9d 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -223,8 +223,8 @@ should be named the same as the class in PascalCase. Imported modules from the lib package are prefixed with lib to make them easier to distinguish, as the names tend to be very generic. E.g.: - const libLink = require("lib/link"); - const libLuaTools = require("lib/lua_tools"); + const libLink = require("@clusterio/lib/link"); + const libLuaTools = require("@clusterio/lib/lua_tools"); For lua code lowercase_underscore is used for everything.