mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Move the local path prefix into a constant
This commit is contained in:
3
lib/entry-points.js
generated
3
lib/entry-points.js
generated
@@ -148352,6 +148352,7 @@ async function parseRemoteFileAddress(actionState, configFile) {
|
||||
}
|
||||
|
||||
// src/config/file.ts
|
||||
var LOCAL_PATH_PREFIX = "./";
|
||||
async function getConfigFileInput({
|
||||
logger,
|
||||
actions,
|
||||
@@ -149713,7 +149714,7 @@ async function initConfig(actionState, inputs) {
|
||||
return config;
|
||||
}
|
||||
function isRelativePath(configPath) {
|
||||
return configPath.startsWith("./");
|
||||
return configPath.startsWith(LOCAL_PATH_PREFIX);
|
||||
}
|
||||
function containsAtRef(configPath) {
|
||||
return configPath.includes("@");
|
||||
|
||||
Reference in New Issue
Block a user