File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { setPreview } from "./utils/preview";
88import { setOutputs } from "./utils/outputs" ;
99import { getPackageManager } from "./utils/packageManagers" ;
1010import { titleCase } from "./utils/strings" ;
11- import { readConfig } from ' ./utils/config'
11+ import { readConfig } from " ./utils/config" ;
1212
1313const previewUpdater = async ( ) => {
1414 // Inputs
Original file line number Diff line number Diff line change 1- import { Config , defaultConfig } from ' ../types/config'
2- import { deepmerge } from ' deepmerge-ts'
3- import * as yaml from ' js-yaml'
4- import { readFile } from ' ./filesystem'
1+ import { type Config , defaultConfig } from " ../types/config" ;
2+ import { deepmerge } from " deepmerge-ts" ;
3+ import * as yaml from " js-yaml" ;
4+ import { readFile } from " ./filesystem" ;
55
66export const readConfig = ( config : Config , userConfigPath : string ) : Config => {
77 const content : string = readFile ( config , userConfigPath ) ;
Original file line number Diff line number Diff line change 11import * as fs from "node:fs" ;
2- import { type Config } from "../types/config" ;
2+ import type { Config } from "../types/config" ;
33
44export const cwd = ( ) : string => {
55 const path = process . env . GITHUB_WORKSPACE ;
Original file line number Diff line number Diff line change 11import { rawTestConfig } from "../helpers/config" ;
22import { type Config , defaultConfig } from "../../src/types/config" ;
33import { CONFIG_PATH } from "../../src/utils/inputs" ;
4- import { readConfig } from ' ../../src/utils/config'
4+ import { readConfig } from " ../../src/utils/config" ;
55
66test ( "read config" , ( ) => {
77 const data : Config = readConfig ( rawTestConfig , CONFIG_PATH . defaultValue ) ;
You can’t perform that action at this time.
0 commit comments