Skip to content

Commit 3312a18

Browse files
committed
(CONT-200) Fix require relative paths
Prior to this commit using stdlib/to_toml function in a separate environment outside of production will result in the following error if the latest version doesn't also live in production: ``` Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: org.jruby.exceptions.LoadError: (LoadError) no such file to load -- puppet_x/stdlib ``` This commit fixes the issue by updating code to use the correct paths for require_relative.
1 parent dab602d commit 3312a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet_x/stdlib/toml_dumper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
# THE SOFTWARE.
2020

21-
require_relative '../stdlib'
21+
require_relative '../../puppet_x/stdlib'
2222
require 'date'
2323

2424
module PuppetX::Stdlib

0 commit comments

Comments
 (0)