commit e817fed042ecdeffaf6a5d655cb2d410d6e42d7e
parent f3385e71137f157e3f963bdf1b52132a0f3fc75f
Author: aabacchus <ben@bvnf.space>
Date: Tue, 13 Jun 2023 16:46:47 +0100
simplify requires in actions
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/bliss/list.lua b/bliss/list.lua
@@ -1,5 +1,4 @@
-local cwd = (...):gsub('%.[^%.]+$', '')
-local utils = require(cwd .. '.utils')
+local utils = require 'bliss.utils'
local dirent = require 'posix.dirent'
local function pkg_version(env, pkg)
diff --git a/bliss/search.lua b/bliss/search.lua
@@ -1,5 +1,4 @@
-local cwd = (...):gsub('%.[^%.]+$', '')
-local utils = require(cwd .. '.utils')
+local utils = require 'bliss.utils'
local glob = require 'posix.glob'
local sys_stat = require 'posix.sys.stat'