From 5fee319d7a377309f4ad42ab1a3813c7572fdea8 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 11 Sep 2024 06:33:36 +0000 Subject: [PATCH] Build TypeScript [skip ci] --- plugin/dist/lib/config.js | 4 ++-- plugin/dist/lib/config.js.map | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/dist/lib/config.js b/plugin/dist/lib/config.js index 0aa1b91..455c1ec 100644 --- a/plugin/dist/lib/config.js +++ b/plugin/dist/lib/config.js @@ -4,10 +4,10 @@ import { writeFile } from 'fs/promises'; import { PLUGIN_CONFIG_PATH, RUNNER_OUTPUT_PATH } from './index.js'; async function createRunnerConfig(runnerScriptPath, options) { const { path } = options; - await ensureDirectoryExists(dirname(PLUGIN_CONFIG_PATH)); await ensureDirectoryExists(dirname(RUNNER_OUTPUT_PATH)); - await writeFile(PLUGIN_CONFIG_PATH, JSON.stringify(path)); + await ensureDirectoryExists(dirname(PLUGIN_CONFIG_PATH)); await writeFile(RUNNER_OUTPUT_PATH, JSON.stringify({})); + await writeFile(PLUGIN_CONFIG_PATH, JSON.stringify(path)); return { command: `node`, args: [filePathToCliArg(runnerScriptPath)], diff --git a/plugin/dist/lib/config.js.map b/plugin/dist/lib/config.js.map index dc31f6a..01d848f 100644 --- a/plugin/dist/lib/config.js.map +++ b/plugin/dist/lib/config.js.map @@ -1 +1 @@ -{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EACN,qBAAqB,EAAE,gBAAgB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAKpE,KAAK,UAAU,kBAAkB,CAAC,gBAAwB,EAAE,OAAiC;IAC5F,MAAM,EAAC,IAAI,EAAC,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AAE,MAAM;QACf,IAAI,EAAE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;QAC1C,UAAU,EAAE,kBAAkB;KACd,CAAC;AACjB,CAAC;AAEH,eAAe,kBAAkB,CAAC"} \ No newline at end of file