Skip to content

Commit

Permalink
Remove deprecations in gateway.go
Browse files Browse the repository at this point in the history
mattmess1221 committed Mar 27, 2024
1 parent 9faef48 commit a81dcff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gateway.go
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ package main

import (
"io"
"io/ioutil"
"log"
"os"
"os/signal"
@@ -42,7 +41,7 @@ func runGateway() {

func findPlugins() []string {
var plugins []string
enabled, err := ioutil.ReadDir(PluginPath + "/enabled")
enabled, err := os.ReadDir(PluginPath + "/enabled")
if err != nil {
log.Println(err)
return []string{}

0 comments on commit a81dcff

Please sign in to comment.