Skip to content

Commit 166059b

Browse files
committed
fix deepsource
1 parent d98e827 commit 166059b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const raw: (options?: RawPluginOptions) => Plugin = options => ({
3838
namespace: "raw",
3939
};
4040
});
41-
build.onLoad({ filter: /\?raw$/, namespace: "raw" }, async args => {
41+
build.onLoad({ filter: /\?raw$/, namespace: "raw" }, args => {
4242
let filePath = args.pluginData;
4343
if (fs.lstatSync(filePath).isDirectory()) filePath += path.sep + "index";
4444
if (!fs.existsSync(filePath))

0 commit comments

Comments
 (0)