mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
👕 CI: Fix JS lints (prettier)
This commit is contained in:
parent
d77c2a20bf
commit
d167180bba
@ -5,7 +5,9 @@ const repositoryRootPath = path.resolve(__dirname, '..', '..');
|
||||
const appMetadata = require(path.join(repositoryRootPath, 'package.json'));
|
||||
|
||||
const REPO_OWNER = process.env.REPO_OWNER ? process.env.REPO_OWNER : 'atom';
|
||||
const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO ? process.env.NIGHTLY_RELEASE_REPO : 'atom-nightly-releases';
|
||||
const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO
|
||||
? process.env.NIGHTLY_RELEASE_REPO
|
||||
: 'atom-nightly-releases';
|
||||
|
||||
const yargs = require('yargs');
|
||||
const argv = yargs
|
||||
|
@ -5,7 +5,9 @@ const childProcess = require('child_process');
|
||||
|
||||
const REPO_OWNER = process.env.REPO_OWNER ? process.env.REPO_OWNER : 'atom';
|
||||
const MAIN_REPO = process.env.MAIN_REPO ? process.env.MAIN_REPO : 'atom';
|
||||
const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO ? process.env.NIGHTLY_RELEASE_REPO : 'atom-nightly-releases';
|
||||
const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO
|
||||
? process.env.NIGHTLY_RELEASE_REPO
|
||||
: 'atom-nightly-releases';
|
||||
|
||||
module.exports.getRelease = async function(releaseVersion, githubToken) {
|
||||
if (githubToken) {
|
||||
|
@ -14,7 +14,9 @@ const CONFIG = require('../config');
|
||||
|
||||
const REPO_OWNER = process.env.REPO_OWNER ? process.env.REPO_OWNER : 'atom';
|
||||
const MAIN_REPO = process.env.MAIN_REPO ? process.env.MAIN_REPO : 'atom';
|
||||
const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO ? process.env.NIGHTLY_RELEASE_REPO : 'atom-nightly-releases';
|
||||
const NIGHTLY_RELEASE_REPO = process.env.NIGHTLY_RELEASE_REPO
|
||||
? process.env.NIGHTLY_RELEASE_REPO
|
||||
: 'atom-nightly-releases';
|
||||
|
||||
const yargs = require('yargs');
|
||||
const argv = yargs
|
||||
|
Loading…
Reference in New Issue
Block a user